소스 검색

Add test cases with parenthesis

DricomDragon 5 년 전
부모
커밋
2d6167ce9d
2개의 변경된 파일8개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 0
      ans.txt
  2. 5 4
      test.txt

+ 3 - 0
ans.txt

@@ -1,4 +1,7 @@
 3
 -1
 7
+9
 6
+0
+9

+ 5 - 4
test.txt

@@ -1,6 +1,7 @@
-1+2
-=
+1+2=
 1-2=
-1+2*3
-=
+1+2*3=
+(1+2)*3=
 1+2+3=
+(1 - 1) + (2 - 2) =
+1 + 4 * 2 =