Problem nprime2
User retxed
Submission Time 2026-11-08 23:33:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime2.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
nprime2.cpp: In function ‘int main()’:
nprime2.cpp:14:5: error: ‘ios_base’ has not been declared
14 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
nprime2.cpp:15:5: error: ‘cin’ was not declared in this scope
15 | cin.tie(NULL);
| ^~~
nprime2.cpp:15:13: error: ‘NULL’ was not declared in this scope
15 | cin.tie(NULL);
| ^~~~
nprime2.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | include <bits/stdc++.h>
nprime2.cpp:24:3: error: ‘cout’ was not declared in this scope; did you mean ‘count’?
24 | cout << ans;
| ^~~~
| count
nprime2.cpp:35:2: error: ‘cout’ was not declared in this scope; did you mean ‘count’?
35 | cout << a