QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#437644#8786. The Whole World_map_Compile Error//C++231.2kb2024-06-09 14:30:332024-06-09 14:30:33

详细

answer.code:33:35: error: invalid preprocessing directive #print
   33 |                                 # print('s',s[i])
      |                                   ^~~~~
answer.code:34:35: error: invalid preprocessing directive #print
   34 |                                 # print('r',r)
      |                                   ^~~~~
answer.code:53:19: error: invalid preprocessing directive #for
   53 |                 # for t in s:   print(t)
      |                   ^~~
answer.code:54:19: error: invalid preprocessing directive #print
   54 |                 # print();
      |                   ^~~~~
answer.code:1:1: error: ‘import’ does not name a type
    1 | import math
      | ^~~~~~
answer.code:1:1: note: C++20 ‘import’ only available with ‘-fmodules-ts’, which is not yet enabled with ‘-std=c++20’