Problem gotoschool
User LimCheeHann
Submission Time 2026-03-08 12:27:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gotoschool.cpp: In function ‘bool comp(std::pair<int, int>, std::pair<int, int>)’:
gotoschool.cpp:8:11: error: a function-definition is not allowed here before ‘{’ token
8 | int main(){
| ^
gotoschool.cpp:20:1: error: expected ‘}’ at end of input
20 | }
| ^
gotoschool.cpp:6:41: note: to match this ‘{’
6 | bool comp(pair<int,int>A,pair<int,int>B){
| ^