Problem chessislands
User sporknives
Submission Time 2025-04-16 00:15:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

chessislands.cpp:52:10: error: invalid preprocessing directive #print
52 | #print(total_area, white_area)
| ^~~~~
chessislands.cpp:55:1: error: empty character constant
55 | '''sum1 = 0
| ^~
chessislands.cpp:55:3: error: missing terminating ' character
55 | '''sum1 = 0
| ^~~~~~~~~
chessislands.cpp:61:24: error: empty character constant
61 | sum2 += area[i]'''
| ^~
chessislands.cpp:61:26: error: missing terminating ' character
61 | sum2 += area[i]'''
| ^
chessislands.cpp:2:9: error: expected class-name before ‘__init__’
2 | def __init__(self):
| ^~~~~~~~
chessislands.cpp:2:9: error: expected ‘{’ before ‘__init__’
chessislands.cpp:2:18: error: ‘self’ was not declared in this scope
2 | def __init__(self):
| ^~~~