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_17154336_30250.cpp:4:28: error: 'acos' was not declared in this scope
 const double PI = acos(-1.0);
                            ^
0_0_17154336_30250.cpp: In function 'int main()':
0_0_17154336_30250.cpp:11:18: error: 'scanf' was not declared in this scope
     scanf("%d",&T);
                  ^
0_0_17154336_30250.cpp:12:31: error: 'memset' was not declared in this scope
     memset(vis, 0, sizeof(vis));
                               ^
0_0_17154336_30250.cpp:35:51: error: 'printf' was not declared in this scope
             if(k < 0 || k > 30000) { printf("NO\n"); continue; }
                                                   ^
0_0_17154336_30250.cpp:36:46: error: 'printf' was not declared in this scope
             if(vis[k] == kase) printf("YES\n");
                                              ^
0_0_17154336_30250.cpp:37:31: error: 'printf' was not declared in this scope
             else printf("NO\n");
                               ^


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-26 03:40:00, Gzip enabled