0_0_39283410_15922.cpp:6:1: error: 'll' does not name a type
6 | ll n,m;
| ^~
0_0_39283410_15922.cpp: In function 'int main()':
0_0_39283410_15922.cpp:14:22: error: 'n' was not declared in this scope
14 | cin>>n;
| ^
0_0_39283410_15922.cpp:18:17: error: 'll' was not declared in this scope; did you mean 'l'?
18 | ll num=1e9;
| ^~
| l
0_0_39283410_15922.cpp:19:19: error: expected ';' before 'ans'
19 | ll ans=0;
| ^~~~
| ;
0_0_39283410_15922.cpp:25:41: error: 'ans' was not declared in this scope; did you mean 'abs'?
25 | ans+=b[i]-b[i-1]+1;
| ^~~
| abs
0_0_39283410_15922.cpp:30:41: error: 'ans' was not declared in this scope; did you mean 'abs'?
30 | ans+=b[i-1]-b[i]+1;
| ^~~
| abs
0_0_39283410_15922.cpp:35:17: error: 'num' was not declared in this scope; did you mean 'enum'?
35 | num=min(ans,num);
| ^~~
| enum
0_0_39283410_15922.cpp:35:25: error: 'ans' was not declared in this scope; did you mean 'abs'?
35 | num=min(ans,num);
| ^~~
| abs
0_0_39283410_15922.cpp:37:19: error: expected ';' before 'cnt'
37 | ll cnt=0;
| ^~~~
| ;
0_0_39283410_15922.cpp:42:41: error: 'cnt' was not declared in this scope; did you mean 'int'?
42 | cnt+=b[i]-b[i-1]+1;
| ^~~
| int
0_0_39283410_15922.cpp:47:41: error: 'cnt' was not declared in this scope; did you mean 'int'?
47 | cnt+=b[i-1]-b[i]+1;
| ^~~
| int
0_0_39283410_15922.cpp:52:25: error: 'cnt' was not declared in this scope; did you mean 'int'?
52 | num=min(cnt,num);
| ^~~
| int
|