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_24787091_18500.cpp:2:4: error: stray '#' in program
  2 #define ll long long
    ^
0_0_24787091_18500.cpp:3:4: error: stray '#' in program
  3 #define Empty (head>=tail)
    ^
0_0_24787091_18500.cpp:4:4: error: stray '#' in program
  4 #define go(i,a,b) for(int i=a;i<=b;i++)
    ^
0_0_24787091_18500.cpp:2:2: error: expected unqualified-id before numeric constant
  2 #define ll long long
  ^
0_0_24787091_18500.cpp:4:34: error: 'i' does not name a type
  4 #define go(i,a,b) for(int i=a;i<=b;i++)
                                  ^
0_0_24787091_18500.cpp:4:39: error: 'i' does not name a type
  4 #define go(i,a,b) for(int i=a;i<=b;i++)
                                       ^
0_0_24787091_18500.cpp:5:22: error: 'll' does not name a type
  5 const int N=50100;ll s[N],Q[N],f[N],n,x,head,L,tail,j;
                      ^
0_0_24787091_18500.cpp:6:2: error: expected unqualified-id before numeric constant
  6 inline double X(ll i){return s[i];}
  ^
0_0_24787091_18500.cpp:7:2: error: expected unqualified-id before numeric constant
  7 inline double Y(ll i){return f[i]+(s[i]+L-1)*(s[i]+L-1);}
  ^
0_0_24787091_18500.cpp:8:2: error: expected unqualified-id before numeric constant
  8 inline double Rate(ll i,ll k){return (Y(k)-Y(i))/(X(k)-X(i));}
  ^
0_0_24787091_18500.cpp:9:2: error: expected unqualified-id before numeric constant
  9 int main()
  ^


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-09-22 09:52:47, Gzip enabled