| Problem | sorting2 |
|---|---|
| User | wongethan8192 |
| Submission Time | 2026-07-07 16:28:16 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sorting2.cpp: In function ‘void sort_questions(int, int, int*)’:
sorting2.cpp:2:153: error: expected ‘)’ before ‘{’ token
2 | using namespace std;bool compare_difficulty(int X,int Y);void sort_questions(int N,int Q,int A[]){for(int i=0;i<N;i++)A[i]=1+i;sort(A,A+N,[](int a,int b{return compare_difficulty(a,b);});}
| ~ ^
| )