Problem prime
User ilovepythonandhatecplusplus
Submission Time 2024-02-28 15:45:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp:13:1: error: expected unqualified-id before ‘for’
13 | for (long long i=2;i<n;i++){
| ^~~
prime.cpp:13:20: error: ‘i’ does not name a type
13 | for (long long i=2;i<n;i++){
| ^
prime.cpp:13:24: error: ‘i’ does not name a type
13 | for (long long i=2;i<n;i++){
| ^
prime.cpp:23:1: error: expected declaration before ‘}’ token
23 | }
| ^