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_24422328_8730.cpp: In function 'int main()':
0_0_24422328_8730.cpp:8:11: error: 'cin' was not declared in this scope
     while(cin >> L1 >> L2 >> L3 >> C1 >> C2 >> C3){
           ^
0_0_24422328_8730.cpp:10:37: error: 'swap' was not declared in this scope
         if(from > to) swap(from , to);
                                     ^
0_0_24422328_8730.cpp:14:29: error: 'scanf' was not declared in this scope
             scanf("%d",&d[i]);
                             ^
0_0_24422328_8730.cpp:26:46: error: 'min' was not declared in this scope
                 dp[i] = min(dp[i] , dp[j] + m);
                                              ^
0_0_24422328_8730.cpp:29:9: error: 'cout' was not declared in this scope
         cout << dp[to] << endl;
         ^
0_0_24422328_8730.cpp:29:27: error: 'endl' was not declared in this scope
         cout << dp[to] << endl;
                           ^


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-23 09:17:05, Gzip enabled