Problem | duckhunt5 |
---|---|
User | Yichen |
Submission Time | 2025-08-19 14:26:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckhunt5.cpp: In function ‘int main()’:
duckhunt5.cpp:9:23: error: found ‘:’ in nested-name-specifier, expected ‘::’
9 | for (int i = 0; i < n: i++) {
| ^
| ::
duckhunt5.cpp:9:22: error: ‘n’ is not a class, namespace, or enumeration
9 | for (int i = 0; i < n: i++) {
| ^
duckhunt5.cpp:23:1: error: expected primary-expression at end of input
23 | }
| ^
duckhunt5.cpp:23:2: error: expected ‘;’ at end of input
23 | }
| ~^
| ;
duckhunt5.cpp:23:1: error: expected primary-expression at end of input
23 | }
| ^
duckhunt5.cpp:23:2: error: expected ‘)’ at end of input
23 | }
| ~^
| )
duckhunt5.cpp:9:6: note: to match this ‘(’
9 | for (int i = 0; i < n: i++) {
| ^
duckhunt5.cpp:23:1: error: expected statement at end of input
23 | }
| ^
duckh