Переглянути джерело

添加可执行文件,添加测试文件

tangs 7 роки тому
батько
коміт
113fd0a5e9

BIN
frequency/build/frequency.exe


+ 19 - 0
frequency/test/test-origin.txt

@@ -0,0 +1,19 @@
+3#1
+5#7
+5#1
+8#2
+9#12
+6-
+6#
+3#1
+5#7
+5#1
+8#2
+9#12
+6-
+6#
+a#b
+c#d
+
+a#b
+c#d

+ 24 - 0
frequency/test/test-target.txt

@@ -0,0 +1,24 @@
+3#1
+5#7
+5#1
+8#2
+9#12
+6-
+6#
+3#1-5#1
+3#1-5#1
+3#1--5#1
+5#1-6-
+8#1(8#2)-9#12
+9#12(5#1)(3#1)--8#2
+3#1-5#12
+
+a#b-c#d
+ea#b-c#d
+a#b-c#de
+ea#b-c#de
+-a#b-c#d
+a#b-c#d-
+-a#b-c#d-
+-a#b-c#de
+ea#b-c#d-