Problem | primefactorization |
---|---|
User | vince |
Submission Time | 2023-11-20 15:28:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
primefactorization.cpp: In function ‘int32_t main()’:
primefactorization.cpp:11:13: error: expected primary-expression before ‘if’
11 | while (if (n%i == 0)){
| ^~
primefactorization.cpp:11:13: error: expected ‘)’ before ‘if’
11 | while (if (n%i == 0)){
| ~^~
| )
primefactorization.cpp:11:26: error: expected primary-expression before ‘)’ token
11 | while (if (n%i == 0)){
| ^