Problem | minimum |
---|---|
User | Andrew |
Submission Time | 2024-10-29 16:29:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int main()’:
minimum.cpp:10:33: error: ‘n’ was not declared in this scope
10 | pair<int, pair<int, string>> p[n];
| ^
minimum.cpp:12:3: error: ‘p’ was not declared in this scope
12 | p[i].first = A[i].length();
| ^
minimum.cpp:12:21: error: request for member ‘length’ in ‘A[i]’, which is of non-class type ‘int’
12 | p[i].first = A[i].length();
| ^~~~~~
minimum.cpp:16:7: error: ‘p’ was not declared in this scope
16 | sort(p,p+N);
| ^