QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#805477#9804. Guess the Polygonucup-team5357#Compile Error//C++173.1kb2024-12-08 16:51:562024-12-08 16:52:00

詳細信息

answer.code:72:15: error: invalid preprocessing directive #print
   72 |             # print(f"Calc: x={x}, cnt={cnt}, last=[{last[0]},{last[1]}] S={Ans}")
      |               ^~~~~
answer.code:73:24: error: stray ‘#’ in program
   73 |             if i == 0: # first && only one
      |                        ^
answer.code:101:19: error: invalid preprocessing directive #print
  101 |                 # print(f"###{L}, {R}")
      |                   ^~~~~
answer.code:1:1: error: ‘import’ does not name a type
    1 | import sys
      | ^~~~~~
answer.code:1:1: note: C++20 ‘import’ only available with ‘-fmodules-ts’