Problem primepie
User bz
Submission Time 2024-06-11 21:08:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

primepie.cpp: In function ‘long long int amountEaten(int)’:
primepie.cpp:7:21: error: ‘n’ was not declared in this scope
7 | for (int i=0; i<n; i++) ans += i;
| ^