Skip to content

Instantly share code, notes, and snippets.

@chipbell4
Created November 9, 2014 20:53
Show Gist options
  • Save chipbell4/5701551c130b4330d1db to your computer and use it in GitHub Desktop.
Save chipbell4/5701551c130b4330d1db to your computer and use it in GitHub Desktop.
Judge Input Generator for the Ken Ken Problem
import sys
n_max = int(sys.argv[1])
k_max = int(sys.argv[2])
c_max = int(sys.argv[3])
print(n_max * k_max * c_max)
for n in range(1, n_max + 1):
for k in range(1, k_max + 1):
for c in range(1, c_max + 1):
print(n, k, c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment