| Problem | choosingcandies |
|---|---|
| User | Masquared |
| Submission Time | 2026-11-29 00:43:12 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
choosingcandies.cpp: In function ‘int main()’:
choosingcandies.cpp:8:15: error: expected initializer before ‘a’
8 | int array[N] a;
| ^
choosingcandies.cpp:10:10: error: ‘a’ was not declared in this scope
10 | cin >> a[i];}
| ^
choosingcandies.cpp:13:9: error: ‘a’ was not declared in this scope
13 | su = a[q] + a[w];
| ^