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_35183944_30402.cpp: In function 'int main()':
0_0_35183944_30402.cpp:29:16: error: 'scanf' was not declared in this scope
  scanf("%d", &t);
                ^
0_0_35183944_30402.cpp:30:17: error: 'clock' was not declared in this scope
  int tt = clock();
                 ^
0_0_35183944_30402.cpp:34:27: error: 'memset' was not declared in this scope
   memset(cl, 0, sizeof(cl));
                           ^
0_0_35183944_30402.cpp:60:23: error: 'printf' was not declared in this scope
    printf("Poor wyh\n");
                       ^
0_0_35183944_30402.cpp:63:30: error: 'printf' was not declared in this scope
    printf("%d %d\n", n - 1, 1);
                              ^
0_0_35183944_30402.cpp:66:23: error: 'printf' was not declared in this scope
    printf("Poor wyh\n");
                       ^
0_0_35183944_30402.cpp:70:16: error: 'swap' was not declared in this scope
     swap(s1, s2);
                ^
0_0_35183944_30402.cpp:72:28: error: 'printf' was not declared in this scope
    printf("%d %d\n", s1, s2);
                            ^


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-23 09:37:02, Gzip enabled