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_25992502_30712.cpp: In function 'std::pair<std::pair<int, int>, std::pair<int, int> > get_contribution(int*)':
0_0_25992502_30712.cpp:27:63: error: could not convert 'std::min<std::pair<int, int> >((*(const std::pair<int, int>*)(& std::make_pair<int&, int&>((*(a + 4u)), (*(a + 8u))))), (*(const std::pair<int, int>*)(& std::make_pair<int&, int>((* a), (* &2147483647)))))' from 'const std::pair<int, int>' to 'std::pair<std::pair<int, int>, std::pair<int, int> >'
     return min(make_pair(a[1], a[2]), make_pair(a[0], INT_MAX));
                                                               ^


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-26 16:59:17, Gzip enabled