QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#531508#9222. Price Comboucup-team4507#Compile Error//C++201.7kb2024-08-24 20:58:552024-08-24 20:58:55

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:41:22: warning: multi-character character constant [-Wmultichar]
   41 |     min_cost = float('inf')
      |                      ^~~~~
answer.code:62:3: error: invalid preprocessing directive #Input
   62 | # Input reading
      |   ^~~~~
answer.code:69:3: error: invalid preprocessing directive #Output
   69 | # Output the result
      |   ^~~~~~
answer.code:1:1: error: ‘from’ does not name a type
    1 | from collections import *
      | ^~~~