Problem examinations
User bobthebill1
Submission Time 2023-02-09 19:02:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

examinations.cpp: In function ‘int32_t main()’:
examinations.cpp:13:12: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::tuple<long long int, long long int, long long int, long long int> >, std::tuple<long long int, long long int, long long int, long long int> >::value_type’ {aka ‘class std::tuple<long long int, long long int, long long int, long long int>’} has no member named ‘push_back’
13 | #define pb push_back
| ^~~~~~~~~
examinations.cpp:76:12: note: in expansion of macro ‘pb’
76 | qs[i].pb({max(z,a+b),a,b,i});
| ^~
examinations.cpp:78:39: error: expected primary-expression before ‘)’ token
78 | sort(qs.begin(),qs.end(),greater<tii>);
| ^