QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#437629#8786. The Whole World_map_Compile Error//C++231.0kb2024-06-09 14:18:192024-06-09 14:18:20

Details

answer.code:27:35: error: invalid preprocessing directive #print
   27 |                                 # print('s',s[i])
      |                                   ^~~~~
answer.code:28:35: error: invalid preprocessing directive #print
   28 |                                 # print('r',r)
      |                                   ^~~~~
answer.code:44:19: error: invalid preprocessing directive #for
   44 |                 # for t in s:   print(t)
      |                   ^~~
answer.code:45:19: error: invalid preprocessing directive #print
   45 |                 # 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’