Problem | prime |
---|---|
User | wrizz69 |
Submission Time | 2023-04-02 19:46:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp:2:7: error: expected nested-name-specifier before ‘namesoace’
2 | using namesoace std;
| ^~~~~~~~~
prime.cpp: In function ‘int32_t main()’:
prime.cpp:6:1: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
6 | cin>>n;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from prime.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
prime.cpp:9:12: error: expected ‘;’ before ‘}’ token
9 | prime=false
| ^
| ;
10 | }
| ~
prime.cpp:12:8: error: expected primary-expression before ‘==’ token
12 | if(n% ==0){
| ^~
prime.cpp:18:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
18 | cout<<