| Problem | sort |
|---|---|
| User | emyz |
| Submission Time | 2025-12-17 15:35:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cc1plus: error: ‘::main’ must return ‘int’
sort.cpp: In function ‘int main()’:
sort.cpp:20:3: error: expected ‘)’ before ‘for’
20 | }
| ^
| )
21 | for (int i = 0; i < N; i++){
| ~~~
sort.cpp:16:6: note: to match this ‘(’
16 | sort(A.begin(), A.end(), [](const string &x, const string &y) {
| ^
sort.cpp:21:18: error: ‘i’ was not declared in this scope
21 | for (int i = 0; i < N; i++){
| ^