Problem | devour |
---|---|
User | Mimikyu |
Submission Time | 2024-05-04 09:56:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
devour.cpp:3:5: error: cannot declare ‘::main’ to be a global variable
3 | int main{
| ^~~~
devour.cpp:4:28: error: ‘O’ was not declared in this scope
4 | ios_base::sync_with_stdio(O);cin.tie(O);
| ^
devour.cpp:4:30: error: expected ‘}’ before ‘;’ token
4 | ios_base::sync_with_stdio(O);cin.tie(O);
| ^
devour.cpp:3:9: note: to match this ‘{’
3 | int main{
| ^
devour.cpp:4:31: error: ‘cin’ does not name a type; did you mean ‘sin’?
4 | ios_base::sync_with_stdio(O);cin.tie(O);
| ^~~
| sin
devour.cpp:6:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin >> n >> m;
| ^~~
| sin
devour.cpp:7:2: error: expected unqualified-id before ‘for’
7 | for (int i=1;i<=n; i+*){
| ^~~
devour.cpp: