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_33517040_20167.cpp: In function 'int main()':
0_0_33517040_20167.cpp:17:33: error: 'ans' was not declared in this scope
             if(m%x==0)res = min(ans, m/x*y);
                                 ^
0_0_33517040_20167.cpp:18:19: error: 'ans' was not declared in this scope
    else res = min(ans,(m/x+1)*y);
                   ^


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-22 22:08:52, Gzip enabled