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_17313820_2208.cpp:1:19: error: 'acos' is not a member of 'std'
 const double pi = std::acos(-1.0);  
                   ^
0_0_17313820_2208.cpp: In function 'long long int solve(int)':
0_0_17313820_2208.cpp:23:22: error: 'atan2' is not a member of 'std'
             ang[j] = std::atan2((double)  
                      ^
0_0_17313820_2208.cpp:26:9: error: 'sort' is not a member of 'std'
         std::sort(ang + 1, ang + n);  
         ^
0_0_17313820_2208.cpp: In function 'int main()':
0_0_17313820_2208.cpp:43:5: error: '::scanf' has not been declared
     ::scanf("%d", &z);  
     ^
0_0_17313820_2208.cpp:45:23: error: 'scanf' was not declared in this scope
         scanf("%d", &n);  
                       ^
0_0_17313820_2208.cpp:49:35: error: 'printf' was not declared in this scope
         printf("%I64d\n", solve(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 10:08:09, Gzip enabled