0_0_25750846_8330.cpp: In function 'void update()':
0_0_25750846_8330.cpp:21:20: error: 'swap' was not declared in this scope
swap(q[i],q[j]);
^
0_0_25750846_8330.cpp:30:17: error: 'max' was not declared in this scope
maxx=max(maxx,s);
^
0_0_25750846_8330.cpp:31:17: error: 'min' was not declared in this scope
minn=min(minn,s);
^
0_0_25750846_8330.cpp: In function 'int main()':
0_0_25750846_8330.cpp:37:15: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_25750846_8330.cpp:40:23: error: 'memset' was not declared in this scope
memset(q,0,sizeof(q));
^
0_0_25750846_8330.cpp:43:17: error: 'strlen' was not declared in this scope
len=strlen(a+1);
^
0_0_25750846_8330.cpp:56:19: error: 'printf' was not declared in this scope
printf("%d",i);
^
0_0_25750846_8330.cpp:65:19: error: 'printf' was not declared in this scope
printf("%d",i);
^
0_0_25750846_8330.cpp:69:14: error: 'printf' was not declared in this scope
printf(" ");
^
0_0_25750846_8330.cpp:87:37: error: 'next_permutation' was not declared in this scope
while(next_permutation(p+1,p+len+1)) ;//È«ÅÅÁÐ
^
0_0_25750846_8330.cpp:88:29: error: 'printf' was not declared in this scope
printf("%d %d\n",minn,maxx);
^
|