General instructions:

* Unless otherwise specified,
  • The default memory limit is 32 MB.
  • Each input file contains multiple test cases.
  • Each test case starts on a new line.
  • Input is terminated by EOF (end of file).
  • Double precision is sufficient for floating-point computations.
  • Take π = 2 cos-10.
* Be careful of the data types you use in your codes!!
* For clarification, please send an email to clarify AT acm.uva.es .
* Clarification replies will be given via email, but they may also be put in the Clarification Board if they are of general interest.
* Please refer to the Clarification Board for other notices.

The Problemset

(A) Soya Milk Click here
(B) Closest Fractions Click here
(C) Farther or Closer Click here
(D) Chutes and Ladders Click here
(E) Tape Recording Click here
(F) An Amazing Race Click here

Special Thanks to Prof. Miguel Revilla and Shahriar Manzoor for their support and help.