| Problem | lengthsort |
|---|---|
| User | Krishna |
| Submission Time | 2025-02-01 09:44:52 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lengthsort.cpp:3:11: error: ‘pair’ was not declared in this scope
3 | bool comp(pair<string, ll> a, pair<string, ll> b)
| ^~~~
lengthsort.cpp:1:1: note: ‘std::pair’ is defined in header ‘<utility>’; did you forget to ‘#include <utility>’?
+++ |+#include <utility>
1 | using namespace std;
lengthsort.cpp:3:16: error: ‘string’ was not declared in this scope
3 | bool comp(pair<string, ll> a, pair<string, ll> b)
| ^~~~~~
lengthsort.cpp:1:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
+++ |+#include <string>
1 | using namespace std;
lengthsort.cpp:3:26: error: expected primary-expression before ‘>’ token
3 | bool comp(pair<string, ll> a, pair<string, ll> b)
| ^
lengthsort.cpp:3:28: error: ‘a’ was not declared in this scope
3 | bo