Problem pandaeyes
User JhoCyber
Submission Time 2025-01-03 22:30:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pandaeyes.cpp: In function ‘int32_t main()’:
pandaeyes.cpp:14:10: error: ‘activities’ was not declared in this scope
14 | sort(activities.begin(), activities.end(), [](pair<int, int> a, pair<int, int> b) {
| ^~~~~~~~~~
pandaeyes.cpp:18:13: error: structured binding declaration cannot have type ‘long long int’
18 | for (int[start,end]:activities){
| ^~~~~~~~~~~
pandaeyes.cpp:18:13: note: type must be cv-qualified ‘auto’ or reference to cv-qualified ‘auto’