dishes.cpp:17:1: error: 'vector' does not name a type
17 | vector < pair < long long , pair < long long , long long > > > all;
| ^~~~~~
dishes.cpp: In function 'int main()':
dishes.cpp:53:9: error: 'all' was not declared in this scope; did you mean 'all2'?
53 | all.push_back(make_pair(Time1[i],make_pair(0,i)));
| ^~~
| all2
dishes.cpp:60:9: error: 'all' was not declared in this scope; did you mean 'all2'?
60 | all.push_back(make_pair(Time2[i],make_pair(1,i)));
| ^~~
| all2
dishes.cpp:62:10: error: 'all' was not declared in this scope; did you mean 'all2'?
62 | sort(all.begin(),all.end());
| ^~~
| all2
dishes.cpp:47:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
47 | scanf("%lld %lld",&N,&M);
| ~~~~~^~~~~~~~~~~~~~~~~~~
dishes.cpp:50:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
50 | scanf("%lld %lld %lld",&all1[i],&Time1[i],&how1[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dishes.cpp:57:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
57 | scanf("%lld %lld %lld",&all2[i],&Time2[i],&how2[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~