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

Compile Error

primepie.cpp: In function ‘long long int amountEaten(int)’:
primepie.cpp:17:5: error: ‘ll’ was not declared in this scope
17 | ll ans = 0;
| ^~
primepie.cpp:20:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
20 | ans += i;
| ^~~
| abs
primepie.cpp:26:12: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
26 | return ans;
| ^~~
| abs