输出更好看了

This commit is contained in:
Kagura 2024-06-15 22:51:31 +08:00
parent d7a81cffe5
commit 74999d06b1

View file

@ -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 {