Problem nprime
User JoshuaPyh
Submission Time 2023-09-28 09:18:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime.cpp: In function ‘int main()’:
nprime.cpp:41:23: error: variable ‘std::ifstream inputFile’ has initializer but incomplete type
41 | ifstream inputFile("PRIME.IN");
| ^
nprime.cpp:42:24: error: variable ‘std::ofstream outputFile’ has initializer but incomplete type
42 | ofstream outputFile("PRIME.OUT");
| ^
nprime.cpp:52:1: error: expected ‘}’ at end of input
52 | }
| ^
nprime.cpp:39:12: note: to match this ‘{’
39 | int main() {
| ^