QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#826039#9770. Middle Pointucup-team4507#Compile Error//C++204.3kb2024-12-22 01:59:072024-12-22 01:59:08

Details

answer.code:9:10: error: invalid preprocessing directive #print
    9 |         #print(cfg)
      |          ^~~~~
answer.code:10:16: warning: character constant too long for its type
   10 |         if cfg['IPKernelApp']['parent_appname']:
      |                ^~~~~~~~~~~~~
answer.code:10:31: warning: character constant too long for its type
   10 |         if cfg['IPKernelApp']['parent_appname']:
      |                               ^~~~~~~~~~~~~~~~
answer.code:19:17: warning: character constant too long for its type
   19 |     handle=open('cfinput.txt','r')
      |                 ^~~~~~~~~~~~~
answer.code:25:17: error: stray ‘#’ in program
   25 | def pr(output): #rename to print for fastio
      |                 ^
answer.code:29:17: warning: character constant too long for its type
   29 |     handle=open('cfinput.txt','r')
      |                 ^~~~~~~~~~~~~
answer.code:30:2: error: invalid preprocessing directive #start
   30 | #start here
      |  ^~~~~
answer.code:192:2: error: invalid preprocessing directive #print
  192 | #print(ops)
      |  ^~~~~
answer.code:1:1: error: ‘from’ does not name a type
    1 | from collections import *
      | ^~~~
answer.code:36:39: error: expected unqualified-id before ‘)’ token
   36 | if ((X,Y) in {(0,0),(0,B),(A,0),(A,B)}):
      |                                       ^
answer.code:43:1: error: ‘def’ does not name a type
   43 | def v2(n):
      | ^~~