Problem | lengthsort |
---|---|
User | themadpotato |
Submission Time | 2023-04-21 16:37:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lengthsort.cpp:4:69: error: template argument 2 is invalid
4 | bool cmp(pair<string, pair<int, int> a, pair<string, pair<int, int> b){
| ^
lengthsort.cpp:4:69: error: template argument 2 is invalid
lengthsort.cpp:4:69: error: template argument 2 is invalid
lengthsort.cpp:4:69: error: template argument 2 is invalid
lengthsort.cpp:4:10: error: invalid template-id
4 | bool cmp(pair<string, pair<int, int> a, pair<string, pair<int, int> b){
| ^~~~
lengthsort.cpp:4:70: error: missing template arguments before β)β token
4 | bool cmp(pair<string, pair<int, int> a, pair<string, pair<int, int> b){
| ^
lengthsort.cpp: In function βint main()β:
lengthsort.cpp:15:38: error: template argument 1 is invalid
15 | vector<pair<