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_23306082_13345.cpp: In function 'double calc(int, int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, int, int)':
0_0_23306082_13345.cpp:17:16: error: expected primary-expression before '?' token
  double et=(ry>?(ysize-ry))/EXTEND_SPEED;
                ^
0_0_23306082_13345.cpp:17:27: error: expected ':' before ')' token
  double et=(ry>?(ysize-ry))/EXTEND_SPEED;
                           ^
0_0_23306082_13345.cpp:17:27: error: expected primary-expression before ')' token
0_0_23306082_13345.cpp:45:31: error: 'sort' was not declared in this scope
  sort(ival.begin(), ival.end());
                               ^
0_0_23306082_13345.cpp: In function 'bool solve()':
0_0_23306082_13345.cpp:70:14: error: expected primary-expression before '?' token
  double t=t1<?t2;
              ^
0_0_23306082_13345.cpp:70:17: error: expected ':' before ';' token
  double t=t1<?t2;
                 ^
0_0_23306082_13345.cpp:70:17: error: expected primary-expression before ';' token


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-28 11:59:01, Gzip enabled