0_0_26122195_9583.cpp: In function 'int solve(int, int)':
0_0_26122195_9583.cpp:12:17: error: 'a' was not declared in this scope
scanf("%lld",&a[j]);
^
0_0_26122195_9583.cpp:20:6: error: 'a' was not declared in this scope
if(a[i]<tmp){
^
0_0_26122195_9583.cpp:27:8: error: redeclaration of 'long long int q'
ll q=a[i]%tmp;
^
0_0_26122195_9583.cpp:26:8: note: 'long long int q' previously declared here
ll q=a[i]/tmp;
^
0_0_26122195_9583.cpp:28:8: error: 'p' was not declared in this scope
if(p!=0){
^
0_0_26122195_9583.cpp: In function 'int main()':
0_0_26122195_9583.cpp:43:17: error: 'n' was not declared in this scope
scanf("%d%d",&n,&k);
^
0_0_26122195_9583.cpp:43:20: error: 'k' was not declared in this scope
scanf("%d%d",&n,&k);
^
|