Merge branch 'master' of github.com:GeoffreyFrogeye/hashcode2016
This commit is contained in:
commit
d256e9ec50
2 changed files with 7 additions and 0 deletions
1
main.py
1
main.py
|
@ -99,6 +99,7 @@ for d in range(D):
|
||||||
Dp.append(Wp[0])
|
Dp.append(Wp[0])
|
||||||
Di.append(dict((p, 0) for p in range(P)))
|
Di.append(dict((p, 0) for p in range(P)))
|
||||||
Dd.append(0)
|
Dd.append(0)
|
||||||
|
Out = '' # Drones commands
|
||||||
|
|
||||||
# Debug
|
# Debug
|
||||||
|
|
||||||
|
|
6
out.py
Normal file
6
out.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#Out file
|
||||||
|
|
||||||
|
def CreateOutFile():
|
||||||
|
f = open(sys.argv[1], 'w')
|
||||||
|
f.write(len(Out)/10 + '\n' + Out)
|
||||||
|
f.close()
|
Reference in a new issue