Problem gymbadges
User loverin
Submission Time 2023-09-12 11:04:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gymbadges.cpp: In function ‘bool gym_comp(const gymStats&, const gymStats&)’:
gymbadges.cpp:20:28: error: expected ‘;’ before ‘)’ token
20 | else{ return a.sum < b.sum);}
| ^
| ;
gymbadges.cpp:20:28: error: expected primary-expression before ‘)’ token