Problem | prime |
---|---|
User | Yuxuan |
Submission Time | 2024-04-21 15:41:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘int main()’:
prime.cpp:8:8: error: expected ‘(’ before ‘running’
8 | while running==1{
| ^~~~~~~
| (
prime.cpp:8:18: error: expected ‘)’ before ‘{’ token
8 | while running==1{
| ~~~~~~~ ^
| )
prime.cpp:19:12: error: expected ‘;’ before ‘}’ token
19 | div += 1
| ^
| ;
20 | }
| ~
prime.cpp:23:16: error: expected ‘;’ before ‘}’ token
23 | running == 0
| ^
| ;
24 | }
| ~