Skip to content

Instantly share code, notes, and snippets.

@whatalnk
Created August 25, 2018 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whatalnk/f7e47931104cc2bc2d42286eb1c5255a to your computer and use it in GitHub Desktop.
Save whatalnk/f7e47931104cc2bc2d42286eb1c5255a to your computer and use it in GitHub Desktop.
AtCoder ABC #107 A
a, b = gets.chomp.split(" ").map(&:to_i)
puts a - b + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment