0_0_39502423_30527.cpp: In function 'void solve()':
0_0_39502423_30527.cpp:47:50: error: expected '}' at end of input
47 | sort(rec.begin(), rec.end(), greater<pii>());
| ^
0_0_39502423_30527.cpp:33:18: note: to match this '{'
33 | void solve(void) {
| ^
|