QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#315926#8170. $N^a (\log N)^b$ucup-team878#Compile Error//C++171.9kb2024-01-27 16:30:252024-01-27 16:30:27

Details

answer.code:14:19: error: invalid preprocessing directive #just
   14 |                 # just a number
      |                   ^~~~
answer.code:20:19: error: invalid preprocessing directive #a
   20 |                 # a tuple
      |                   ^
answer.code:39:27: error: invalid preprocessing directive #just
   39 |                         # just a number
      |                           ^~~~
answer.code:45:27: error: invalid preprocessing directive #just
   45 |                         # just a number
      |                           ^~~~
answer.code:58:27: error: invalid preprocessing directive #just
   58 |                         # just a number
      |                           ^~~~
answer.code:71:27: error: invalid preprocessing directive #just
   71 |                         # just a number
      |                           ^~~~
answer.code:83:40: warning: character constant too long for its type
   83 |         program = program.replace('N', 'C(1,0,0,0)')
      |                                        ^~~~~~~~~~~~
answer.code:84:40: warning: multi-character character constant [-Wmultichar]
   84 |         program = program.replace('^', '**')
      |                                        ^~~~
answer.code:1:1: error: ‘def’ does not name a type
    1 | def log(c):
      | ^~~