Problem lightningrod
User YongXin
Submission Time 2023-06-08 20:40:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘bool covers(std::pair<int, int>, std::pair<int, int>)’:
lightningrod.cpp:16:12: error: a function-definition is not allowed here before ‘{’ token
16 | int main() {
| ^
lightningrod.cpp:30:1: error: expected ‘}’ at end of input
30 | }
| ^
lightningrod.cpp:13:45: note: to match this ‘{’
13 | bool covers(pair<int,int> a,pair<int,int> b){
| ^