Problem nprime2
User Mimikyu
Submission Time 2024-04-06 09:00:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime2.cpp:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
1 | #inlcude <bits/stdc++.h>
| ^~~~~~~
| include
nprime2.cpp: In function ‘int main()’:
nprime2.cpp:6:2: error: ‘ios_base’ has not been declared
6 | ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
| ^~~~~~~~
nprime2.cpp:6:31: error: ‘cin’ was not declared in this scope
6 | ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
| ^~~
nprime2.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inlcude <bits/stdc++.h>
nprime2.cpp:6:42: error: ‘cout’ was not declared in this scope
6 | ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
| ^~~~
nprime2.cpp:6:42: note: ‘std::cout’ is defined in header ‘<iostream&