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_24547336_29162.cpp:9:12: error: expected unqualified-id before numeric constant
 #define PI 3.1415926
            ^
0_0_24547336_29162.cpp:21:14: note: in expansion of macro 'PI'
 const double PI = acos(-1.0);  
              ^
0_0_24547336_29162.cpp:74:1: error: 'LL' does not name a type
 LL num[MAXN<<2];//保存结果的数组,要开4*MAXN  
 ^
0_0_24547336_29162.cpp: In function 'int main()':
0_0_24547336_29162.cpp:102:13: error: 'num' was not declared in this scope
             num[i] = (LL)(x1[i].x+0.5);  
             ^
0_0_24547336_29162.cpp:102:23: error: 'LL' was not declared in this scope
             num[i] = (LL)(x1[i].x+0.5);  
                       ^
0_0_24547336_29162.cpp:106:13: error: 'num' was not declared in this scope
             num[i+1] += num[i]/10;  
             ^
0_0_24547336_29162.cpp:110:15: error: 'num' was not declared in this scope
         while(num[len] <= 0 && len > 0) len--;//去前置零;  
               ^
0_0_24547336_29162.cpp:112:29: error: 'num' was not declared in this scope
             printf("%I64d", num[i]);  
                             ^


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-10-06 22:23:38, Gzip enabled