| Problem | choosingcandies |
|---|---|
| User | lucaskoh |
| Submission Time | 2026-06-24 16:28:10 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
choosingcandies.cpp: In function ‘int main()’:
choosingcandies.cpp:12:5: error: expected initializer before ‘long’
12 | long long Ways= 0;
| ^~~~
choosingcandies.cpp:15:15: error: ‘A’ was not declared in this scope
15 | if (A[i]+A[j] >= K)
| ^
choosingcandies.cpp:16:14: error: ‘Ways’ was not declared in this scope
16 | {Ways++;}
| ^~~~
choosingcandies.cpp:19:13: error: ‘Ways’ was not declared in this scope
19 | cout << Ways << "\n";
| ^~~~