Problem nprime2
User tacticalnerd
Submission Time 2024-05-04 09:12:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime2.cpp: In function ‘int main()’:
nprime2.cpp:59:75: error: expected ‘}’ at end of input
59 | std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
| ^
nprime2.cpp:57:30: note: to match this ‘{’
57 | while (!(std::cin >> n)) {
| ^
nprime2.cpp:59:75: error: expected ‘}’ at end of input
59 | std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
| ^
nprime2.cpp:54:12: note: to match this ‘{’
54 | int main() {
| ^