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

whi i get WA end please tell me how i mast do it and i will tell you senc your?here is a my program
Posted by I am david. Tabo. 24 Apr 2002 17:09
const max=20000;

var x:longint;
    p2,p1:real;

begin
  readln (p1,p2);
  for x:=1 to max do
    if abs(p2/100*x-p1/100*x)>=1 then
      begin
        writeln (x);
        halt;
      end;
end.