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_32311465_11532.cpp:11:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_32311465_11532.cpp:12:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_32311465_11532.cpp:13:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_32311465_11532.cpp: In function 'int dfs(int, int, int, int)':
0_0_32311465_11532.cpp:40:78: error: 'min' was not declared in this scope
         ans = max(ans, now - min(dfs(a1+1, a2, b1, b2), dfs(a1, a2-1, b1, b2)));
                                                                              ^
0_0_32311465_11532.cpp:40:79: error: 'max' was not declared in this scope
         ans = max(ans, now - min(dfs(a1+1, a2, b1, b2), dfs(a1, a2-1, b1, b2)));
                                                                               ^
0_0_32311465_11532.cpp:43:78: error: 'min' was not declared in this scope
         ans = max(ans, now - min(dfs(a1, a2, b1+1, b2), dfs(a1, a2, b1, b2-1)));
                                                                              ^
0_0_32311465_11532.cpp:43:79: error: 'max' was not declared in this scope
         ans = max(ans, now - min(dfs(a1, a2, b1+1, b2), dfs(a1, a2, b1, b2-1)));
                                                                               ^
0_0_32311465_11532.cpp: In function 'int main()':
0_0_32311465_11532.cpp:51:23: error: 'scanf' was not declared in this scope
     scanf("%d", &nCase);
                       ^
0_0_32311465_11532.cpp:63:32: error: 'memset' was not declared in this scope
         memset(f, -1, sizeof(f));
                                ^
0_0_32311465_11532.cpp:64:9: error: 'cout' was not declared in this scope
         cout << dfs(1, n, 1, n) << endl;
         ^
0_0_32311465_11532.cpp:64:36: error: 'endl' was not declared in this scope
         cout << dfs(1, n, 1, n) << 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-17 07:43:00, Gzip enabled