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_20691643_31894.cpp:31:32: error: 'vector' was not declared in this scope
 int zeroOrOneKnapsackLessSpace(vector<int> w, vector<int> v, int space) {
                                ^
0_0_20691643_31894.cpp:31:39: error: expected primary-expression before 'int'
 int zeroOrOneKnapsackLessSpace(vector<int> w, vector<int> v, int space) {
                                       ^
0_0_20691643_31894.cpp:31:47: error: 'vector' was not declared in this scope
 int zeroOrOneKnapsackLessSpace(vector<int> w, vector<int> v, int space) {
                                               ^
0_0_20691643_31894.cpp:31:54: error: expected primary-expression before 'int'
 int zeroOrOneKnapsackLessSpace(vector<int> w, vector<int> v, int space) {
                                                      ^
0_0_20691643_31894.cpp:31:62: error: expected primary-expression before 'int'
 int zeroOrOneKnapsackLessSpace(vector<int> w, vector<int> v, int space) {
                                                              ^
0_0_20691643_31894.cpp:31:71: error: expression list treated as compound expression in initializer [-fpermissive]
 int zeroOrOneKnapsackLessSpace(vector<int> w, vector<int> v, int space) {
                                                                       ^
0_0_20691643_31894.cpp:31:73: error: expected ',' or ';' before '{' token
 int zeroOrOneKnapsackLessSpace(vector<int> w, vector<int> v, int space) {
                                                                         ^


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-06 03:00:41, Gzip enabled