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_38463644_10802.cpp: In function 'void solve()':
0_0_38463644_10802.cpp:29:12: error: missing template arguments before 'fo'
     vector fo(n + 1, vector<Info> (1, {0, 0}));
            ^
0_0_38463644_10802.cpp:29:45: error: expected primary-expression before ')' token
     vector fo(n + 1, vector<Info> (1, {0, 0}));
                                             ^
0_0_38463644_10802.cpp:35:9: error: 'fo' was not declared in this scope
         fo[j].push_back((Info) {x, y});
         ^
0_0_38463644_10802.cpp:43:14: error: 'fo' was not declared in this scope
         sort(fo[i].begin(), fo[i].end());
              ^
0_0_38463644_10802.cpp:48:13: error: 'fo' was not declared in this scope
             fo[i][j].v += fo[i][j - 1].v;
             ^
0_0_38463644_10802.cpp:58:29: error: 'fo' was not declared in this scope
                     if (u - fo[i][k].w >= 0) {
                             ^


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-23 02:44:04, Gzip enabled