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_30439485_27980.cpp: In function 'int main()':
0_0_30439485_27980.cpp:32:15: error: 'scanf' was not declared in this scope
  scanf("%d",&T);
               ^
0_0_30439485_27980.cpp:36:21: error: 'swap' was not declared in this scope
   if(x > y) swap(x,y);
                     ^
0_0_30439485_27980.cpp:40:16: error: 'printf' was not declared in this scope
    printf("0\n");
                ^
0_0_30439485_27980.cpp:47:22: error: 'printf' was not declared in this scope
   printf("%lld\n",ans);
                      ^


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-07-05 19:51:51, Gzip enabled