Owl Get a Life
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; | ^