QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#762037#9552. The Chariotucup-team3935#Compile Error//C++23706b2024-11-19 12:48:332024-11-19 12:48:33

详细

answer.code:7:27: error: stray ‘#’ in program
    7 |     ans1 = ceil(d, x) * a # aaaaaaaaaaaaaaaaaaaaaaaaa
      |                           ^
answer.code:8:60: error: stray ‘#’ in program
    8 |     ans2 = a + max(0, min(d-x, y)) * b + max(0, d-x-y) * c # abccccccccccccccccccc
      |                                                            ^
answer.code:1:1: error: ‘def’ does not name a type
    1 | def ceil(a, b):
      | ^~~