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_19231031_5224.cpp:28:12: error: 'I' does not name a type
 int I = 0; I < (N); ++I)
            ^
0_0_19231031_5224.cpp:28:21: error: expected unqualified-id before '++' token
 int I = 0; I < (N); ++I)
                     ^
0_0_19231031_5224.cpp:30:14: error: 'I' does not name a type
 int I = (L); I < (H); ++I)
              ^
0_0_19231031_5224.cpp:30:23: error: expected unqualified-id before '++' token
 int I = (L); I < (H); ++I)
                       ^
0_0_19231031_5224.cpp: In function 'int check(const double&)':
0_0_19231031_5224.cpp:33:34: error: expected ')' before 'template'
 #define ALL(X) X.begin(), X.end()template <typename T> inline bool checkmin(T &a, 
                                  ^
0_0_19231031_5224.cpp:51:119: note: in expansion of macro 'ALL'
 int i = 0 ; i < N ; i++) { bef.push_back(init[i]); } if (sgn(mid) != 0) bef.push_back(mid); while(SZ(bef) > 1) { sort(ALL(bef)); aft.clear(); aft.push_back((bef[0] + bef[1]) / (1 - p)); for(
                                                                                                                       ^


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-12-23 12:59:11, Gzip enabled