0_0_38708764_647.cpp:4:7: error: 'll' does not name a type
4 | const ll mod=1e9+7;
| ^~
0_0_38708764_647.cpp:5:7: error: 'll' does not name a type
5 | const ll maxn=50000;
| ^~
0_0_38708764_647.cpp:6:1: error: 'll' does not name a type
6 | ll sum[maxn]={0};
| ^~
0_0_38708764_647.cpp:7:1: error: 'll' does not name a type
7 | ll mul[maxn]={1,1};
| ^~
0_0_38708764_647.cpp:8:1: error: 'll' does not name a type
8 | ll inv[maxn]={0,1};
| ^~
0_0_38708764_647.cpp: In function 'void init()':
0_0_38708764_647.cpp:11:23: error: 'maxn' was not declared in this scope
11 | for(int i=2;i<maxn;i++)
| ^~~~
0_0_38708764_647.cpp:13:17: error: 'sum' was not declared in this scope
13 | sum[i]=sum[i-1]+i;
| ^~~
0_0_38708764_647.cpp:14:17: error: 'mul' was not declared in this scope
14 | mul[i]=(mul[i-1]%mod*i%mod)%mod;
| ^~~
0_0_38708764_647.cpp:14:34: error: 'mod' was not declared in this scope; did you mean 'modf'?
14 | mul[i]=(mul[i-1]%mod*i%mod)%mod;
| ^~~
| modf
0_0_38708764_647.cpp:15:17: error: 'inv' was not declared in this scope; did you mean 'int'?
15 | inv[i]=(mod-mod/i)*inv[mod%i]%mod;
| ^~~
| int
0_0_38708764_647.cpp: In function 'int main()':
0_0_38708764_647.cpp:34:44: error: 'sum' was not declared in this scope
34 | int id=lower_bound(sum+2,sum+maxn,x)-sum;
| ^~~
0_0_38708764_647.cpp:34:54: error: 'maxn' was not declared in this scope; did you mean 'main'?
34 | int id=lower_bound(sum+2,sum+maxn,x)-sum;
| ^~~~
| main
0_0_38708764_647.cpp:37:49: error: 'mul' was not declared in this scope
37 | printf("%lld\n",mul[id]%mod);
| ^~~
0_0_38708764_647.cpp:37:57: error: 'mod' was not declared in this scope; did you mean 'modf'?
37 | printf("%lld\n",mul[id]%mod);
| ^~~
| modf
0_0_38708764_647.cpp:46:54: error: 'mul' was not declared in this scope
46 | int result=((mul[id]*inv[2])%mod*(2+t))%mod;
| ^~~
0_0_38708764_647.cpp:46:62: error: 'inv' was not declared in this scope; did you mean 'int'?
46 | int result=((mul[id]*inv[2])%mod*(2+t))%mod;
| ^~~
| int
0_0_38708764_647.cpp:46:70: error: 'mod' was not declared in this scope; did you mean 'modf'?
46 | int result=((mul[id]*inv[2])%mod*(2+t))%mod;
| ^~~
| modf
0_0_38708764_647.cpp:51:54: error: 'mul' was not declared in this scope
51 | int result=((mul[id]*inv[id+1-t])%mod*(id+1))%mod;
| ^~~
0_0_38708764_647.cpp:51:62: error: 'inv' was not declared in this scope; did you mean 'int'?
51 | int result=((mul[id]*inv[id+1-t])%mod*(id+1))%mod;
| ^~~
| int
0_0_38708764_647.cpp:51:75: error: 'mod' was not declared in this scope; did you mean 'modf'?
51 | int result=((mul[id]*inv[id+1-t])%mod*(id+1))%mod;
| ^~~
| modf
|