Problem | examinations |
---|---|
User | bobthebill1 |
Submission Time | 2023-02-09 19:01:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
examinations.cpp:23:9: error: ‘ti’ was not declared in this scope; did you mean ‘tii’?
23 | vector <ti> qs;
| ^~
| tii
examinations.cpp:23:11: error: template argument 1 is invalid
23 | vector <ti> qs;
| ^
examinations.cpp:23:11: error: template argument 2 is invalid
examinations.cpp: In function ‘int32_t main()’:
examinations.cpp:65:6: error: redeclaration of ‘long long int cur’
65 | int cur=1;
| ^~~
examinations.cpp:60:6: note: ‘long long int cur’ previously declared here
60 | int cur=1;
| ^~~
examinations.cpp:76:10: error: invalid types ‘int[long long int]’ for array subscript
76 | qs[i].pb({max(z,a+b),a,b,i});
| ^
examinations.cpp:78:27: error: expected primary-expression before ‘)’ token
78 | sort(qs,qs+N,greater<tii>);
| ^
examinations.cpp:79:6: error: redeclarati