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_23727354_3467.cpp: In function 'bool calc(int)':
0_0_23727354_3467.cpp:28:49: error: 'op' was not declared in this scope
   if (i1<=N && (i2>M || E1[i1].v+V<E2[i2].v || (op && k<K && E1[i1].v+V==E2[i2].v && V>0)))
                                                 ^
0_0_23727354_3467.cpp: In function 'void work()':
0_0_23727354_3467.cpp:43:12: error: too many arguments to function 'bool calc(int)'
  calc(R+1,1); printf("%d\n",s);
            ^
0_0_23727354_3467.cpp:20:6: note: declared here
 bool calc(int V){
      ^


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-06-29 07:55:29, Gzip enabled