Competitive Coding

Tuesday, September 16, 2014

ATM


Problem

Idea : It is an easy problem . Take input an integer x and a floating value Y . If the integer x is multiple of 5 and x+0.5 if less than or equal Y , print Y-(x+0.5) . Else print Y .

My Solution
Posted by Unknown at 3:07 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Ad hoc

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Labels

  • Ad hoc (4)
  • Dynamic Programming (4)
  • Geometry (11)
  • Longest Increasing Subsequence (1)
  • Mathematics (1)
  • Number Theory (8)

About Me

Unknown
View my complete profile

Blog Archive

  • ▼  2014 (29)
    • ►  October (1)
    • ▼  September (18)
      • Guess the Number
      • Euler Totient Function
      • Prince and Princess
      • Divide the Land
      • Vaishnav and Pizzas
      • Little Vaishnavi and plywood
      • Vaishnav and Factorials
      • Composite Numbers Having 7
      • Small factorials
      • Holes in the text
      • Factorial
      • Enormous Input Test
      • ATM
      • Life, the Universe, and Everything
      • EmoticonsDiv2
      • ChooseTheBestOne
      • NumbersChallenge
      • Monkey Banana Problem
    • ►  August (10)
Picture Window theme. Powered by Blogger.