Problem | primefactorization |
---|---|
User | vince |
Submission Time | 2023-11-20 15:28:51 |
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) f++;){
| ^~
primefactorization.cpp:11:13: error: expected ‘)’ before ‘if’
11 | while (if (n%i == 0) f++;){
| ~^~
| )
primefactorization.cpp:11:31: error: expected primary-expression before ‘)’ token
11 | while (if (n%i == 0) f++;){
| ^