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_23582349_30799.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_23582349_30799.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_23582349_30799.cpp: In function 'int main()':
0_0_23582349_30799.cpp:6:18: error: expected ')' before ';' token
     scanf("%d",&T;);
                  ^
0_0_23582349_30799.cpp:6:19: error: expected primary-expression before ')' token
     scanf("%d",&T;);
                   ^
0_0_23582349_30799.cpp:10:24: error: expected ')' before ';' token
         scanf("%d%d",&n;,&v;);
                        ^
0_0_23582349_30799.cpp:10:25: error: expected primary-expression before ',' token
         scanf("%d%d",&n;,&v;);
                         ^
0_0_23582349_30799.cpp:10:29: error: expected primary-expression before ')' token
         scanf("%d%d",&n;,&v;);
                             ^
0_0_23582349_30799.cpp:11:28: error: 'j' was not declared in this scope
         for(int i=0;i=V[i];j--){
                            ^
0_0_23582349_30799.cpp:12:17: error: 'dp' was not declared in this scope
                 dp[j]=max(dp[j],dp[j-V[i]]+N[i]);
                 ^
0_0_23582349_30799.cpp:12:48: error: 'max' was not declared in this scope
                 dp[j]=max(dp[j],dp[j-V[i]]+N[i]);
                                                ^
0_0_23582349_30799.cpp:15:23: error: 'dp' was not declared in this scope
         printf("%d\n",dp[v]);
                       ^
0_0_23582349_30799.cpp:15:28: error: 'printf' was not declared in this scope
         printf("%d\n",dp[v]);
                            ^
0_0_23582349_30799.cpp: At global scope:
0_0_23582349_30799.cpp:17:5: error: expected unqualified-id before 'return'
     return 0;
     ^
0_0_23582349_30799.cpp:18:1: error: expected declaration before '}' token
 }
 ^


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