Problem | xmas |
---|---|
User | rhea61 |
Submission Time | 2023-11-09 08:52:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
xmas.cpp: In function ‘int32_t main()’:
xmas.cpp:11:14: error: ‘l’ was not declared in this scope
11 | for (int i=l: i<=n: it+){
| ^
xmas.cpp:14:2: error: expected ‘;’ before ‘for’
14 | }
| ^
| ;
15 | for (int i=1; i<=n; it+) {
| ~~~
xmas.cpp:15:3: error: expected primary-expression before ‘for’
15 | for (int i=1; i<=n; it+) {
| ^~~
xmas.cpp:14:2: error: expected ‘;’ before ‘for’
14 | }
| ^
| ;
15 | for (int i=1; i<=n; it+) {
| ~~~
xmas.cpp:15:3: error: expected primary-expression before ‘for’
15 | for (int i=1; i<=n; it+) {
| ^~~
xmas.cpp:14:2: error: expected ‘)’ before ‘for’
14 | }
| ^
| )
15 | for (int i=1; i<=n; it+) {
| ~~~
xmas.cpp:11:7: note: to match this ‘(’
11 | for (int i=l: i<=n: it+){
| ^
xmas.cpp:15:23: e