Problem | primefactorization |
---|---|
User | dieunq1309 |
Submission Time | 2023-09-17 14:13:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
primefactorization.cpp: In function ‘int main()’:
primefactorization.cpp:10:11: error: overloaded function with no contextual type information
10 | count = 0;
| ^
primefactorization.cpp:13:9: error: no post-increment operator for type
13 | count++;
| ^~
primefactorization.cpp:15:13: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’
15 | if (count > 0) cout << i << '^' << count;
| ~~~~~~^~~
primefactorization.cpp:15:35: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘<unresolved overloaded function type>’)
15 | if (count > 0) cout << i << '^' << count;
| ~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,