Problem | photo |
---|---|
User | personjs |
Submission Time | 2024-05-20 11:05:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
photo.cpp: In function ‘int main()’:
photo.cpp:70:75: error: expected ‘)’ before ‘}’ token
70 | bestDiff.push_back(abs(classes[i][student1] - classes[j][student2])}));
| ~ ^
| )
photo.cpp:70:76: error: expected primary-expression before ‘)’ token
70 | bestDiff.push_back(abs(classes[i][student1] - classes[j][student2])}));
| ^
photo.cpp: At global scope:
photo.cpp:77:5: error: ‘sol’ does not name a type
77 | sol = bestDiff[4]
| ^~~
photo.cpp:79:1: error: expected declaration before ‘}’ token
79 | }
| ^