QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#647624#8110. Additionrotcar07Compile Error//C++20210b2024-10-17 14:59:262024-10-17 14:59:30

Judging History

你现在查看的是最新测评结果

  • [2024-10-17 14:59:30]
  • 评测
  • [2024-10-17 14:59:26]
  • 提交

answer

print('''22
^010 1^00
^000 0^00
^100 0^10
^110 1^10
^011 1^01
^001 0^01
^101 0^11
^111 1^11
^00 ^0
^01 ^1
^10 ^1
^11 #^0
0# 1
1# #0
+# +^1
0+ +^0
1+ +^1
+^ -^
-^0 0-
-^1 1-
1- 1
0- 0
''')

详细

answer.code:1:7: error: empty character constant
    1 | print('''22
      |       ^~
answer.code:1:9: warning: missing terminating ' character
    1 | print('''22
      |         ^
answer.code:1:9: error: missing terminating ' character
    1 | print('''22
      |         ^~~
answer.code:13:5: error: stray ‘#’ in program
   13 | ^11 #^0
      |     ^
answer.code:14:2: error: stray ‘#’ in program
   14 | 0# 1
      |  ^
answer.code:15:2: error: stray ‘#’ in program
   15 | 1# #0
      |  ^
answer.code:15:4: error: stray ‘#’ in program
   15 | 1# #0
      |    ^
answer.code:16:2: error: stray ‘#’ in program
   16 | +# +^1
      |  ^
answer.code:24:1: error: empty character constant
   24 | ''')
      | ^~
answer.code:24:3: warning: missing terminating ' character
   24 | ''')
      |   ^
answer.code:24:3: error: missing terminating ' character
   24 | ''')
      |   ^~
answer.code:1:6: error: expected constructor, destructor, or type conversion before ‘(’ token
    1 | print('''22
      |      ^