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_25712914_4472.cpp:43:35: error: macro "min" requires 2 arguments, but only 1 given
    dis[i] = min(a[1][i] || b[1][i]);
                                   ^
0_0_25712914_4472.cpp: In function 'long long int prim(int (*)[105], int (*)[105], int)':
0_0_25712914_4472.cpp:43:11: error: cannot resolve overloaded function 'min' based on conversion to type 'int'
    dis[i] = min(a[1][i] || b[1][i]);
           ^


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-30 00:36:24, Gzip enabled