Problem primefactorization
User vs358
Submission Time 2023-02-09 20:26:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

primefactorization.cpp:63:28: error: missing terminating ' character
63 | cout << N << '^1' << '\n''
| ^
primefactorization.cpp: In function ‘int32_t main()’:
primefactorization.cpp:28:14: error: ‘ori’ was not declared in this scope
28 | while(pf <= ori**0.5){
| ^~~
primefactorization.cpp:28:19: error: invalid type argument of unary ‘*’ (have ‘double’)
28 | while(pf <= ori**0.5){
| ^~~
primefactorization.cpp:63:28: error: expected ‘;’ before ‘}’ token
63 | cout << N << '^1' << '\n''
| ^
| ;
64 | }
| ~