Problem | primefactorization |
---|---|
User | Duk168 |
Submission Time | 2024-03-26 08:09:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
primefactorization.cpp: In function ‘std::vector<int> prime_factors(long long int)’:
primefactorization.cpp:27:39: error: a function-definition is not allowed here before ‘{’ token
27 | void print_prime_factors(long long n) {
| ^
primefactorization.cpp:38:12: error: a function-definition is not allowed here before ‘{’ token
38 | int main() {
| ^
primefactorization.cpp:43:1: error: expected ‘}’ at end of input
43 | }
| ^
primefactorization.cpp:7:40: note: to match this ‘{’
7 | vector<int> prime_factors(long long n) {
| ^