Problem | gotoschool |
---|---|
User | codementality |
Submission Time | 2023-06-27 17:13:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gotoschool.cpp:5:5: error: cannot declare ‘::main’ to be a global variable
5 | int main {
| ^~~~
gotoschool.cpp:6:1: error: ‘N’ was not declared in this scope
6 | N = int(input())
| ^
gotoschool.cpp:6:9: error: ‘input’ was not declared in this scope
6 | N = int(input())
| ^~~~~
gotoschool.cpp:8:1: error: expected ‘}’ before ‘A’
8 | A = list(map(int, input().split()))
| ^
gotoschool.cpp:5:10: note: to match this ‘{’
5 | int main {
| ^
gotoschool.cpp:17:2: error: expected declaration before ‘}’ token
17 | }
| ^