Problem | bestplace |
---|---|
User | Soysauce |
Submission Time | 2024-03-27 19:29:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bestplace.cpp:4:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
4 | cin >> N;
| ^~~
| sin
bestplace.cpp:5:1: error: expected unqualified-id before ‘for’
5 | for (int i = 0; i < N; ++i)
| ^~~
bestplace.cpp:5:17: error: ‘i’ does not name a type
5 | for (int i = 0; i < N; ++i)
| ^
bestplace.cpp:5:24: error: expected unqualified-id before ‘++’ token
5 | for (int i = 0; i < N; ++i)
| ^~
bestplace.cpp:8:1: error: expected unqualified-id before ‘for’
8 | for (int i = 0; i <= 1000; ++i) {
| ^~~
bestplace.cpp:8:17: error: ‘i’ does not name a type
8 | for (int i = 0; i <= 1000; ++i) {
| ^
bestplace.cpp:8:28: error: expected unqualified-id before ‘++’ token
8 | for (int i = 0; i <= 1000; ++i) {
| ^~
bestplace.cpp:19:1: error: ‘cout’ does not n