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_32866665_11786.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_32866665_11786.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_32866665_11786.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_32866665_11786.cpp: In function 'bool input()':
0_0_32866665_11786.cpp:12:25: error: 'scanf' was not declared in this scope
     scanf("%d%d", &n, &m);
                         ^
0_0_32866665_11786.cpp: In function 'void change()':
0_0_32866665_11786.cpp:23:14: error: 'swap' was not declared in this scope
     swap(n, m);
              ^
0_0_32866665_11786.cpp: In function 'int solve()':
0_0_32866665_11786.cpp:72:71: error: 'min' was not declared in this scope
                         dp[cr^1][to] = min(dp[cr^1][to], dp[cr][czt]+1);
                                                                       ^
0_0_32866665_11786.cpp:79:69: error: 'min' was not declared in this scope
                         dp[cr^1][to] = min(dp[cr^1][to], dp[cr][czt]);
                                                                     ^
0_0_32866665_11786.cpp:91:67: error: 'min' was not declared in this scope
                     dp[cr^1][to] = min(dp[cr^1][to], dp[cr][czt]+1);
                                                                   ^
0_0_32866665_11786.cpp:101:65: error: 'min' was not declared in this scope
                     dp[cr^1][to] = min(dp[cr^1][to], dp[cr][czt]);
                                                                 ^
0_0_32866665_11786.cpp:111:71: error: 'min' was not declared in this scope
                         dp[cr][czt^1] = min(dp[cr][czt^1], dp[cr][czt]);
                                                                       ^
0_0_32866665_11786.cpp:129:49: error: 'min' was not declared in this scope
         if(flag)    ans = min(ans, dp[cr][zt[i]]);
                                                 ^
0_0_32866665_11786.cpp: In function 'int main()':
0_0_32866665_11786.cpp:137:48: error: 'printf' was not declared in this scope
         printf("Case #%d: %d\n", cas++, solve());
                                                ^


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-12-05 10:44:39, Gzip enabled