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_20602432_89.c: In function 'main':
0_0_20602432_89.c:14:15: error: expected expression before 'int'
         while(int(X) < x || int(Y) < y){
               ^
0_0_20602432_89.c:16:33: error: expected expression before 'int'
             if(target > curr && int(x * ((Y + 1) / X)) <= y){
                                 ^
0_0_20602432_89.c:18:38: error: expected expression before 'int'
                 if(fabs(X * target - int(X * target)) < EPS)
                                      ^
0_0_20602432_89.c:19:25: error: expected expression before 'int'
                     t = int(X * target) - 1;
                         ^
0_0_20602432_89.c:21:25: error: expected expression before 'int'
                     t = int(X * target);
                         ^
0_0_20602432_89.c:22:22: error: expected expression before 'int'
                 t -= int(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-17 07:55:10, Gzip enabled