From 74999d06b14f84716b282a1c1cdec9428b39f6e0 Mon Sep 17 00:00:00 2001 From: Kagura Date: Sat, 15 Jun 2024 22:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E5=87=BA=E6=9B=B4=E5=A5=BD=E7=9C=8B?= =?UTF-8?q?=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LL1/src/Main.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LL1/src/Main.kt b/LL1/src/Main.kt index c86a00e..b5006a5 100644 --- a/LL1/src/Main.kt +++ b/LL1/src/Main.kt @@ -9,13 +9,13 @@ fun main() { println("${it.key}: ${analyzeTable.items[it.value]}") } - println("分析过程:") + println("分析过程:98+99+80") analyzeTable.analyze("98+99+80"){ it.replace("\\d+".toRegex(),"i") }.forEach { println(it) } - + println("分析过程:(106-80(*95)") analyzeTable.analyze("(106-80(*95)"){ it.replace("\\d+".toRegex(),"i") }.forEach {