Problem | warp |
---|---|
User | Naman1312 |
Submission Time | 2024-01-10 16:29:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
warp.cpp:1:1: error: ‘cin’ does not name a type
1 | cin >> n;
| ^~~
warp.cpp:2:3: error: expected unqualified-id before ‘if’
2 | if (n == 1) {
| ^~
warp.cpp:6:3: error: ‘vector’ does not name a type
6 | vector<int> ways(32, 0), a(n);
| ^~~~~~
warp.cpp:7:3: error: expected unqualified-id before ‘for’
7 | for (auto& s : a)
| ^~~
warp.cpp:9:3: error: expected unqualified-id before ‘for’
9 | for (int b = 0; b < 32; b++)
| ^~~
warp.cpp:9:19: error: ‘b’ does not name a type
9 | for (int b = 0; b < 32; b++)
| ^
warp.cpp:9:27: error: ‘b’ does not name a type
9 | for (int b = 0; b < 32; b++)
| ^
warp.cpp:12:3: error: expected unqualified-id before ‘for’
12 | for (int i = n - 2; i > 0; i--) {
| ^~~
warp.cpp:12:23: error: ‘i’ does not name a type
12 |