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);
^
|