QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#754431#9552. The ChariotWe will think about it (David Memarnishvili, GUO JINGHAO, Vannes Wijaya)#Compile Error//C++20796b2024-11-16 15:01:282024-11-16 15:01:30

Details

answer.code:1:3: error: invalid preprocessing directive #A
    1 | # A = 0
      |   ^
answer.code:2:3: error: invalid preprocessing directive #B
    2 | # B = 0 C, X, Y, D = 0
      |   ^
answer.code:10:11: error: invalid preprocessing directive #return
   10 |         # return r*A + s*B +t*C
      |           ^~~~~~
answer.code:25:11: error: invalid preprocessing directive #print
   25 |         # print(A, B, C, X, Y, D)
      |           ^~~~~
answer.code:4:1: error: ‘def’ does not name a type
    4 | def f(r):
      | ^~~