Problem sorting2
User popperoni
Submission Time 2025-04-19 16:34:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sorting2.cpp:6:11: error: ‘ll’ was not declared in this scope
6 | bool comp(ll a,ll b){
| ^~
sorting2.cpp:6:16: error: ‘ll’ was not declared in this scope
6 | bool comp(ll a,ll b){
| ^~
sorting2.cpp:6:20: error: expression list treated as compound expression in initializer [-fpermissive]
6 | bool comp(ll a,ll b){
| ^
sorting2.cpp: In function ‘void sort_questions(int, int, int*)’:
sorting2.cpp:10:2: error: ‘fori’ was not declared in this scope
10 | fori(N)A[i]=i+1;
| ^~~~
sorting2.cpp:12:25: error: ‘b’ was not declared in this scope
12 | if(compare_difficulty(b,a)){
| ^
sorting2.cpp:12:27: error: ‘a’ was not declared in this scope
12 | if(compare_difficulty(b,a)){
| ^
In file included from /usr/include/c++/9/bits/stl_algobase.h:71,
from /usr/include/c++/9/