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_14174339_31556.cpp:20:13: error: stray '\243' in program
             printf£¨"%d\n",min(min((n/m)*q+(n%m*p),n*p),(n/m+1)*q));
             ^
0_0_14174339_31556.cpp:20:13: error: stray '\250' in program
0_0_14174339_31556.cpp: In function 'int main()':
0_0_14174339_31556.cpp:13:37: error: expected ')' before ';' token
         scanf("%d%d%d%d",&n,&m,&p,&q;)
                                     ^
0_0_14174339_31556.cpp:13:38: error: expected primary-expression before ')' token
         scanf("%d%d%d%d",&n,&m,&p,&q;)
                                      ^
0_0_14174339_31556.cpp:18:9: error: 'else' without a previous 'if'
         else if(n>m)
         ^
0_0_14174339_31556.cpp:20:21: error: expected ';' before string constant
             printf£¨"%d\n",min(min((n/m)*q+(n%m*p),n*p),(n/m+1)*q));
                     ^


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 09:27:50, Gzip enabled