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_39761656_11290.cpp: In member function 'void OY::DFLOYD::Solver<Group, GetPath, Container>::run()':
0_0_39761656_11290.cpp:96:52: error: there are no arguments to 'update_by_vertex' that depend on a template parameter, so a declaration of 'update_by_vertex' must be available [-fpermissive]
   96 |                 for (size_type k = 0; k != n; k++) update_by_vertex(k);
      |                                                    ^~~~~~~~~~~~~~~~
0_0_39761656_11290.cpp:96:52: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
0_0_39761656_11290.cpp: In function 'void solve_floyd()':
0_0_39761656_11290.cpp:384:23: error: 'OY::StaticDynamicFloyd<OY::DFLOYD::AddGroup<unsigned int>, false, 300>' {aka 'struct OY::DFLOYD::Solver<OY::DFLOYD::AddGroup<unsigned int>, false, OY::DFLOYD::StaticContainerWrap<300>::type>'} has no member named 'update_by_vertex'; did you mean 'update_by_edge'?
  384 |                     G.update_by_vertex(x);
      |                       ^~~~~~~~~~~~~~~~
      |                       update_by_edge


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 02:46:25, Gzip enabled