Advertisement
Guest User

URI 1541 Rewritten

a guest
Jan 26th, 2017
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. Description:
  2. In a city that allows houses to be built on only a specific percentage of land area; and all lands are perfect squares (That is, the width is equal to the length). you are asked to find the length of the landside rounded down to an integer number for each given input.
  3.  
  4. Input:
  5. The input may have many test cases, each is made of 3 integers A, B, and C. with A and B denoting the dimensions of the house and C (>0 & <=100) denoting the percentage of area of land on which the house is allowed to be built. the input is terminated with a zero input.
  6.  
  7. Output:
  8. Output a single integer denoting the length of the landside for each test case.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement