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_30637260_22170.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_30637260_22170.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_30637260_22170.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_30637260_22170.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_30637260_22170.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_30637260_22170.cpp: In function 'int MAX(int, int, int)':
0_0_30637260_22170.cpp:11:20: error: 'max' was not declared in this scope
  return max(max(a,b),c);
                    ^
0_0_30637260_22170.cpp:11:23: error: 'max' was not declared in this scope
  return max(max(a,b),c);
                       ^
0_0_30637260_22170.cpp:11:23: error: redeclaration of '<typeprefixerror>max'
0_0_30637260_22170.cpp:11:20: note: previous declaration '<typeprefixerror>max'
  return max(max(a,b),c);
                    ^
0_0_30637260_22170.cpp: In function 'int main()':
0_0_30637260_22170.cpp:16:22: error: 'scanf' was not declared in this scope
  while(~scanf("%d",&n)&&n)
                      ^
0_0_30637260_22170.cpp:18:25: error: 'memset' was not declared in this scope
   memset(dp,0,sizeof(dp));
                         ^
0_0_30637260_22170.cpp:28:25: error: 'printf' was not declared in this scope
   printf("%d\n",dp[0][6]);
                         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 03:04:51, Gzip enabled