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_39372177_31998.cpp: In function 'int minNumOfPourings(int, int, int)':
0_0_39372177_31998.cpp:40:61: error: expected ')' before ';' token
   40 |         q.push(make_pair(max(0, x - (M - y)), min(M, y + x));
      |               ~                                             ^
      |                                                             )
0_0_39372177_31998.cpp:41:61: error: expected ')' before ';' token
   41 |         q.push(make_pair(min(N, x + y), max(0, y - (N - x)));
      |               ~                                             ^
      |                                                             )


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:58:05, Gzip enabled