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_37767328_17163.cpp: In function 'void solve()':
0_0_37767328_17163.cpp:104:12: error: missing template arguments before 'ssg'
     vector ssg(cnt_block + 1, vector<pll>(0));
            ^
0_0_37767328_17163.cpp:111:39: error: 'ssg' was not declared in this scope
             if (block[u] != block[v]) ssg[block[u]].push_back({block[v], t.second}), deg[block[v]]++;
                                       ^
0_0_37767328_17163.cpp:120:23: error: 'ssg' was not declared in this scope
         for (auto t : ssg[u]) {
                       ^
0_0_37767328_17163.cpp:123:43: error: 'w' was not declared in this scope
             val[v] = max(val[v], val[u] + w);
                                           ^


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-07-05 00:24:47, Gzip enabled