Problem lightningrod
User hwy
Submission Time 2023-06-08 21:39:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:22:30: error: expected ‘;’ before ‘if’
22 | c = make_pair(first,second)
| ^
| ;
23 | if (q.empty()) q.push(c);
| ~~
lightningrod.cpp:24:3: error: ‘else’ without a previous ‘if’
24 | else if (covers(c,q.top())){
| ^~~~