Problem pandaeyes
User NgMinSong123
Submission Time 2023-12-16 16:24:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pandaeyes.cpp: In function ‘int maxActivities(long long int, std::vector<std::pair<long long int, long long int> >&)’:
pandaeyes.cpp:14:25: error: ‘activities’ was not declared in this scope; did you mean ‘maxActivities’?
14 | long long endTime = activities[0].second;
| ^~~~~~~~~~
| maxActivities
pandaeyes.cpp: In function ‘int main()’:
pandaeyes.cpp:35:13: error: ‘result’ was not declared in this scope
35 | cout << result << endl;
| ^~~~~~