ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1011. Conductors

why WA 3 test ?
Posted by Александр 1 May 2011 18:27
read(p,q);
  for i:=2 to 10000000 do begin
    a:=i/100*p;
    b:=i/100*q;
    a1:=trunc(a);
    b1:=trunc(b);
    if (b1-a1)>=0.99 then begin
      write(i);
      halt;
    end;
  end;
why WA ?
Re: why WA 3 test ?
Posted by Accepted 29 Jul 2013 20:57
Me,too!
Re: why WA 3 test ?
Posted by Lenstar 24 Apr 2021 19:42


Edited by author 24.04.2021 19:44