F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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);
                             ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-16 18:22:26, Gzip enabled