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_13802402_107.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13802402_107.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13802402_107.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13802402_107.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13802402_107.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13802402_107.cpp: In function 'bool cmp(const P&, const P&)':
0_0_13802402_107.cpp:17:1: error: expected ';' before '}' token
 }
 ^
0_0_13802402_107.cpp: In function 'int main()':
0_0_13802402_107.cpp:23:25: error: 'scanf' was not declared in this scope
     while(~scanf("%d",&K))
                         ^
0_0_13802402_107.cpp:27:17: error: expected ';' before 'scanf'
                 scanf("%d%d%d",&p[i].a,&p[i].b,&p[i].c);
                 ^
0_0_13802402_107.cpp:27:56: error: expected ')' before ';' token
                 scanf("%d%d%d",&p[i].a,&p[i].b,&p[i].c);
                                                        ^
0_0_13802402_107.cpp:29:27: error: 'sort' was not declared in this scope
         sort(p+1,p+1+K,cmp);
                           ^
0_0_13802402_107.cpp:30:32: error: 'memset' was not declared in this scope
         memset(dp,-1,sizeof(dp));
                                ^
0_0_13802402_107.cpp:33:9: error: expected ';' before '{' token
         {
         ^
0_0_13802402_107.cpp:33:9: error: expected primary-expression before '{' token
0_0_13802402_107.cpp:33:9: error: expected ')' before '{' token
0_0_13802402_107.cpp:36:13: error: expected ';' before '{' token
             {
             ^
0_0_13802402_107.cpp:36:13: error: expected primary-expression before '{' token
0_0_13802402_107.cpp:36:13: error: expected ')' before '{' token
0_0_13802402_107.cpp:37:54: error: expected ')' before 'dp'
                 if( dp[j-p[i].a]!=-1 && use[j-p[i].a]dp[j]  )
                                                      ^
0_0_13802402_107.cpp:6:24: error: 'maxh' cannot be used as a function
 #define max(a,b) ((a)(b)?(a):(b))
                        ^
0_0_13802402_107.cpp:41:26: note: in expansion of macro 'max'
                     maxh=max(maxh,dp[j]);
                          ^
0_0_13802402_107.cpp:45:9: error: 'cout' was not declared in this scope
         cout
         ^


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-06-29 12:10:31, Gzip enabled