Problem primefactorization
User Hytoh
Submission Time 2023-07-24 16:31:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

primefactorization.cpp: In function ‘void printprimefactor(long long int, long long int)’:
primefactorization.cpp:6:9: error: ‘exponent’ was not declared in this scope
6 | if (exponent > 0)
| ^~~~~~~~
primefactorization.cpp: In function ‘void primefactors(long long int)’:
primefactorization.cpp:17:9: error: ‘printPrimeFactor’ was not declared in this scope; did you mean ‘printprimefactor’?
17 | printPrimeFactor(2, count);
| ^~~~~~~~~~~~~~~~
| printprimefactor
primefactorization.cpp:27:13: error: ‘printPrimeFactor’ was not declared in this scope; did you mean ‘printprimefactor’?
27 | printPrimeFactor(i, count);
| ^~~~~~~~~~~~~~~~
| printprimefactor
primefactorization.cpp:31:9: error: ‘printPrimeFactor’ was not declared in this scope; did you mean ‘printprimefactor’?
31 | printPrimeFactor(n, 1);
| ^~~~~~~~