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_30054204_25968.cpp: In function 'int main()':
0_0_30054204_25968.cpp:6:2: error: 'cin' was not declared in this scope
  cin>>n;
  ^
0_0_30054204_25968.cpp:9:24: error: 'memset' was not declared in this scope
   memset(dp,0,sizeof dp);
                        ^
0_0_30054204_25968.cpp:18:33: error: 'min' was not declared in this scope
    dp[i]=min(dp[i-1]+a[i],b[i-1])+dp[i];
                                 ^
0_0_30054204_25968.cpp:24:37: error: 'printf' was not declared in this scope
   printf("%02d:%02d:%02d am\n",h,m,s); 
                                     ^
0_0_30054204_25968.cpp:26:37: error: 'printf' was not declared in this scope
   printf("%02d:%02d:%02d pm\n",h,m,s);                                                     
                                     ^


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-10-06 04:03:23, Gzip enabled