Paste Search Dynamic
Recent pastes
Math.Round
  1. using system;
  2.  
  3. public class Test
  4. {
  5.         public static void Main()
  6.         {
  7.         double s = int.Parse(Console.ReadLine());
  8.     double s1 = int.Parse(Console.ReadLine());
  9.     double s2 = int.Parse(Console.ReadLine());
  10.  
  11.  
  12. /*
  13. double  shuou = s - s1;
  14. double  svoi = s - s2;
  15.  
  16. double  vho = s/60;
  17. double vhuou = shuou/60;
  18.  
  19. double thuouvoi = s/vhuou;
  20. double vvoi = svoi/thuouvoi;
  21.  
  22. double s2voi = vvoi*60;
  23. double s3 = s - s2voi;
  24. */
  25.  
  26.  
  27. Console.Write(Math.Round(s-((s-s2)/(s/((s-s1))))));
  28.  
  29.         }
  30. }
Parsed in 0.002 seconds