Problem | primesort |
---|---|
User | hwy |
Submission Time | 2023-06-21 13:56:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
primesort.cpp: In function ‘bool comparePrime(int, int)’:
primesort.cpp:27:63: error: expected ‘;’ before ‘)’ token
27 | for (int j = 0; j < min(factors1.size(),factors2.size()), j++) {
| ^
| ;
primesort.cpp:41:12: error: a function-definition is not allowed here before ‘{’ token
41 | int main() {
| ^
primesort.cpp:57:1: error: expected ‘}’ at end of input
57 | }
| ^
primesort.cpp:24:39: note: to match this ‘{’
24 | bool comparePrime(int num1, int num2) {
| ^