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

Compile Error

candies.cpp: In function ‘int main()’:
candies.cpp:18:8: error: expected primary-expression before ‘%’ token
18 | scanf(%d, &n);
| ^
candies.cpp:18:9: error: ‘d’ was not declared in this scope
18 | scanf(%d, &n);
| ^