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_37405528_31082.cpp: In function 'int main()':
0_0_37405528_31082.cpp:7:2: error: expected initializer before 'double'
  double a[120],dp[120],t;
  ^
0_0_37405528_31082.cpp:9:10: error: 'a' was not declared in this scope
   memset(a,0,sizeof(a));
          ^
0_0_37405528_31082.cpp:10:10: error: 'dp' was not declared in this scope
   memset(dp,0,sizeof(dp));
          ^
0_0_37405528_31082.cpp:11:25: error: 'VT2' was not declared in this scope
  cin>>N>>C>>T>>VR>>VT1>>VT2;
                         ^
0_0_37405528_31082.cpp:20:5: error: 't' was not declared in this scope
     t=k>C?(C/VT1+(k-C)/VT2):(k/VT1);
     ^


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-25 04:26:12, Gzip enabled