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_39365367_30310.cpp: In function 'void solve()':
0_0_39365367_30310.cpp:58:29: error: no match for 'operator[]' (operand types are 'long long int [10005]' and '__gnu_cxx::__alloc_traits<std::allocator<node>, node>::value_type' {aka 'node'})
   58 |         cout<<double((ans+dp[e[1][e[1].size()-1]])*1.0/(n*(n-1)/2))<<'\n';
      |                             ^


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-28 14:40:31, Gzip enabled