QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#618747#7695. Double UpLastChanceAtWFCompile Error//C++17609b2024-10-07 09:48:142024-10-07 09:48:16

Details

answer.code:1:3: error: invalid preprocessing directive #from
    1 | # from collections import defaultdict
      |   ^~~~
answer.code:2:3: warning: #import is a deprecated GCC extension [-Wdeprecated]
    2 | # import sys
      |   ^~~~~~
answer.code:2:10: error: #import expects "FILENAME" or <FILENAME>
    2 | # import sys
      |          ^~~
answer.code:3:3: warning: #import is a deprecated GCC extension [-Wdeprecated]
    3 | # import math
      |   ^~~~~~
answer.code:3:10: error: #import expects "FILENAME" or <FILENAME>
    3 | # import math
      |          ^~~~
answer.code:4:3: warning: #import is a deprecated GCC extension [-Wdeprecated]
    4 | # import threading
      |   ^~~~~~
answer.code:4:10: error: #import expects "FILENAME" or <FILENAME>
    4 | # import threading
      |          ^~~~~~~~~
answer.code:5:3: error: invalid preprocessing directive #lines; did you mean #line?
    5 | # lines = [i[:-1] for i in sys.stdin]
      |   ^~~~~
      |   line
answer.code:6:3: error: invalid preprocessing directive #chunks
    6 | # chunks = list(('\n'.join(lines)).split('\n\n'))
      |   ^~~~~~
answer.code:7:3: error: invalid preprocessing directive #sys
    7 | # sys.setrecursionlimit(1000000)
      |   ^~~
answer.code:9:1: error: ‘n’ does not name a type
    9 | n = int(input())
      | ^