Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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