Problem selectingintervals
User Ok
Submission Time 2023-08-20 00:56:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

selectingintervals.cpp: In lambda function:
selectingintervals.cpp:97:33: error: expected ‘{’ before ‘;’ token
97 | p -= [start];
| ^
selectingintervals.cpp: In function ‘int main()’:
selectingintervals.cpp:97:23: error: no match for ‘operator-=’ (operand types are ‘int’ and ‘main()::<lambda()>’)
97 | p -= [start];