0_0_27633930_28447.cpp:7:1: error: 'll' does not name a type
ll b[20000];
^
0_0_27633930_28447.cpp:8:1: error: 'll' does not name a type
ll powermod( unsigned ll a, unsigned ll n, unsigned ll k)
^
0_0_27633930_28447.cpp: In function 'int main()':
0_0_27633930_28447.cpp:23:2: error: 'll' was not declared in this scope
ll mm=1000000007;
^
0_0_27633930_28447.cpp:25:6: error: expected ';' before 'num'
ll num,t,val,k;
^
0_0_27633930_28447.cpp:28:7: error: 'num' was not declared in this scope
cin>>num>>t>>k;
^
0_0_27633930_28447.cpp:28:12: error: 't' was not declared in this scope
cin>>num>>t>>k;
^
0_0_27633930_28447.cpp:28:15: error: 'k' was not declared in this scope
cin>>num>>t>>k;
^
0_0_27633930_28447.cpp:29:8: error: expected ';' before 'tmp'
ll tmp= powermod(k,t,mm);
^
0_0_27633930_28447.cpp:31:8: error: 'val' was not declared in this scope
cin>>val;
^
0_0_27633930_28447.cpp:32:3: error: 'b' was not declared in this scope
b[(i+t)%num]=val*tmp%mm;
^
0_0_27633930_28447.cpp:32:20: error: 'tmp' was not declared in this scope
b[(i+t)%num]=val*tmp%mm;
^
0_0_27633930_28447.cpp:32:24: error: 'mm' was not declared in this scope
b[(i+t)%num]=val*tmp%mm;
^
0_0_27633930_28447.cpp:36:9: error: 'b' was not declared in this scope
cout<<b[i];
^
|