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_39083457_18929.cpp:3:17: error: expected initializer before '==' token
    3 | const double max==10000000000000000;
      |                 ^~
0_0_39083457_18929.cpp: In function 'int main()':
0_0_39083457_18929.cpp:19:38: error: cannot resolve overloaded function 'max' based on conversion to type 'double'
   19 |                                 c[i]=max;
      |                                      ^~~
0_0_39083457_18929.cpp:22:13: error: 'i' was not declared in this scope
   22 |         for(i=0;i<N;i++)
      |             ^
0_0_39083457_18929.cpp:35:13: error: 'i' was not declared in this scope
   35 |         for(i=0;i<N;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-09-28 19:14:47, Gzip enabled