Problem lightningrod
User Kiameimon
Submission Time 2024-01-02 12:43:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:37:42: error: expected ‘;’ before ‘v’
37 | if(v.empty() || cover(arr[i], v.back()) v.push_back(arr[i]);
| ^~
| ;
lightningrod.cpp:38:2: error: expected primary-expression before ‘}’ token
38 | }
| ^
lightningrod.cpp:37:63: error: expected ‘)’ before ‘}’ token
37 | if(v.empty() || cover(arr[i], v.back()) v.push_back(arr[i]);
| ~ ^
| )
38 | }
| ~
lightningrod.cpp:38:2: error: expected primary-expression before ‘}’ token
38 | }
| ^