Problem perfectprimes
User JerryCodebreaker
Submission Time 2024-06-30 21:37:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

perfectprimes.cpp:43:9: error: stray ‘#’ in program
43 | else{#include <bits/stdc++.h>
| ^
perfectprimes.cpp: In function ‘int main()’:
perfectprimes.cpp:43:10: error: ‘include’ was not declared in this scope
43 | else{#include <bits/stdc++.h>
| ^~~~~~~
perfectprimes.cpp:43:19: error: ‘bits’ was not declared in this scope
43 | else{#include <bits/stdc++.h>
| ^~~~
perfectprimes.cpp:43:24: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
43 | else{#include <bits/stdc++.h>
| ^~~~
| std
perfectprimes.cpp:44:1: error: expected primary-expression before ‘using’
44 | using namespace std;
| ^~~~~
perfectprimes.cpp:46:20: error: a function-definition is not allowed here before ‘{’ token
46 | bool isprime(int x){
| ^
perfectpri