| Problem | nprime |
|---|---|
| User | wahjsodhowasd |
| Submission Time | 2026-02-13 18:53:13 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
nprime.cpp: In function ‘int main()’:
nprime.cpp:5:30: error: expected ‘;’ before ‘freopen’
5 | freopen("PRIME.IN","r",stdin)
| ^
| ;
6 | freopen("PRIME.OUT","w",stdout)
| ~~~~~~~
nprime.cpp:8:6: error: ‘n’ was not declared in this scope
8 | cin>>n;
| ^
nprime.cpp:9:7: error: ‘Ans’ was not declared in this scope
9 | while(Ans != n){
| ^~~
nprime.cpp:18:1: error: expected ‘}’ at end of input
18 | }
| ^
nprime.cpp:4:7: note: to match this ‘{’
4 | main(){
| ^