Skip to content

Instantly share code, notes, and snippets.

@andreis
Created March 17, 2014 21:22
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 andreis/9608633 to your computer and use it in GitHub Desktop.
Save andreis/9608633 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
# https://www.hackerrank.com/challenges/angry-children
import sys
def solve(L, k):
# stuff
n = int(input())
k = int(input())
L = [int(s) for s in input().split()]
print(solve(L, k))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment