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_17810933_26536.cpp: In function 'int merge(int, int)':
0_0_17810933_26536.cpp:54:7: error: no match for 'operator[]' (operand types are 'Node [100010]' and 'Node')
  if(ns[ns[lhs]].NPL > ns[ns[rhs]].NPL)
       ^
0_0_17810933_26536.cpp:54:25: error: no match for 'operator[]' (operand types are 'Node [100010]' and 'Node')
  if(ns[ns[lhs]].NPL > ns[ns[rhs]].NPL)
                         ^


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-11 01:42:59, Gzip enabled