Problem candies
User Dynonychus
Submission Time 2024-01-29 21:46:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candies.cpp: In function ‘int main()’:
candies.cpp:12:15: error: ‘n’ was not declared in this scope
12 | scanf("%d", &n);
| ^
candies.cpp:19:16: error: ‘a’ was not declared in this scope
19 | scanf("%d", &a);
| ^