Problem | pandaeyes |
---|---|
User | jerrielchangjiebin |
Submission Time | 2024-12-16 16:20:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pandaeyes.cpp:3:10: error: ‘pair’ was not declared in this scope
3 | bool cmp(pair<int,int> a,pair<int,int> b){
| ^~~~
pandaeyes.cpp:1:1: note: ‘std::pair’ is defined in header ‘<utility>’; did you forget to ‘#include <utility>’?
+++ |+#include <utility>
1 | //Start the activity that has the earliest ending time #include <bits/stdc++.h>
pandaeyes.cpp:3:15: error: expected primary-expression before ‘int’
3 | bool cmp(pair<int,int> a,pair<int,int> b){
| ^~~
pandaeyes.cpp:3:19: error: expected primary-expression before ‘int’
3 | bool cmp(pair<int,int> a,pair<int,int> b){
| ^~~
pandaeyes.cpp:3:26: error: ‘pair’ was not declared in this scope
3 | bool cmp(pair<int,int> a,pair<int,int> b){
| ^~~~
pandaeyes.cpp:3:26: note: ‘std::pair’ is defined in header ‘<utility