QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#596225#9168. Square LocatorSoohti#Compile Error//C++142.0kb2024-09-28 15:22:022024-09-28 15:22:02

详细

answer.code:14:1: error: empty character constant
   14 | '''
      | ^~
answer.code:14:3: warning: missing terminating ' character
   14 | '''
      |   ^
answer.code:14:3: error: missing terminating ' character
answer.code:19:1: error: empty character constant
   19 | '''
      | ^~
answer.code:19:3: warning: missing terminating ' character
   19 | '''
      |   ^
answer.code:19:3: error: missing terminating ' character
answer.code:21:1: error: empty character constant
   21 | '''
      | ^~
answer.code:21:3: warning: missing terminating ' character
   21 | '''
      |   ^
answer.code:21:3: error: missing terminating ' character
answer.code:25:1: error: empty character constant
   25 | '''
      | ^~
answer.code:25:3: warning: missing terminating ' character
   25 | '''
      |   ^
answer.code:25:3: error: missing terminating ' character
answer.code:38:1: error: empty character constant
   38 | '''
      | ^~
answer.code:38:3: warning: missing terminating ' character
   38 | '''
      |   ^
answer.code:38:3: error: missing terminating ' character
answer.code:49:7: error: invalid preprocessing directive #A
   49 |     # A (0, a)
      |       ^
answer.code:50:7: error: invalid preprocessing directive #B
   50 |     # B (x, y)
      |       ^
answer.code:51:7: error: invalid preprocessing directive #AB
   51 |     # AB = (x, y-a)
      |       ^~
answer.code:52:7: error: invalid preprocessing directive #BC
   52 |     # BC = (a-y, x) = AD
      |       ^~
answer.code:53:7: error: invalid preprocessing directive #C
   53 |     # C (a-y+x, x+y)
      |       ^
answer.code:54:7: error: invalid preprocessing directive #D
   54 |     # D (a-y, a+x)
      |       ^
answer.code:69:11: error: invalid preprocessing directive #A
   69 |         # A (0, a)
      |           ^
answer.code:70:11: error: invalid preprocessing directive #B
   70 |         # B (x, y)
      |           ^
answer.code:71:11: error: invalid preprocessing directive #AB
   71 |         # AB = (x, y-a)
      |           ^~
answer.code:72:11: error: invalid preprocessing directive #BC
   72 |         # BC = (y-a, -x) = AD
      |           ^~
answer.code:73:11: error: invalid preprocessing directive #C
   73 |         # C (x+y-a, y-x)
      |           ^
answer.code:74:11: error: invalid preprocessing directive #D
   74 |         # D (y-a, a-x)
      |           ^
answer.code:84:1: error: empty character constant
   84 | '''
      | ^~
answer.code:84:3: warning: missing terminating ' character
   84 | '''
      |   ^
answer.code:84:3: error: missing terminating ' character
answer.code:1:1: error: ‘from’ does not name a type
    1 | from math import sqrt
      | ^~~~