Skip to content

Instantly share code, notes, and snippets.

@whatalnk
Last active February 2, 2018 12:01
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/8b5c0f74c6ed742a182613b5d18fdfbe to your computer and use it in GitHub Desktop.
Save whatalnk/8b5c0f74c6ed742a182613b5d18fdfbe to your computer and use it in GitHub Desktop.
AtCoderABC #078 C. HSI
# ABC078
# C. HSI
n, m = gets.chomp.split(" ").map(&:to_i)
puts (1900 * m + 100 * (n - m)) * 2**m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment