Browse Source

new solutions

vm
kaos 9 years ago
parent
commit
7bcaae522d
12 changed files with 19 additions and 2 deletions
  1. +8
    -1
      filterResults.py
  2. +1
    -0
      solutions/2.0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000385.strategy2-500M
  3. +1
    -0
      solutions/2.13639.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342.strategy2-500M
  4. +1
    -0
      solutions/2.13948.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000357.strategy2-500M
  5. +1
    -0
      solutions/2.15385.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000326.strategy2-500M
  6. +1
    -0
      solutions/2.16783.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000331.strategy2-500M
  7. +1
    -0
      solutions/2.23027.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000341.strategy2-500M
  8. +1
    -0
      solutions/2.23862.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000381.strategy2-500M
  9. +1
    -0
      solutions/2.25221.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000381.strategy2-500M
  10. +1
    -0
      solutions/2.29639.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000361.strategy2-500M
  11. +1
    -0
      solutions/2.679.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000354.strategy2-500M
  12. +1
    -1
      submitted/2.json

+ 8
- 1
filterResults.py View File

@ -66,6 +66,7 @@ else:
out, err = process.communicate() out, err = process.communicate()
if err == None: if err == None:
serverResults = {} serverResults = {}
serverScores = {}
results = json.loads(out) results = json.loads(out)
for result in results: for result in results:
#2015-08-08T12:26:42.894Z #2015-08-08T12:26:42.894Z
@ -74,7 +75,8 @@ else:
key = str(result['problemId'])+"."+str(result['seed']) key = str(result['problemId'])+"."+str(result['seed'])
if not key in serverResults or serverResults[key]['createdAt'] < result['createdAt']: if not key in serverResults or serverResults[key]['createdAt'] < result['createdAt']:
serverResults[key] = result serverResults[key] = result
#print results
if not key in serverScores or serverScores[key] < result['score']:
serverScores[key] = result
tags = {} tags = {}
for serverResult in serverResults: for serverResult in serverResults:
if not serverResults[serverResult]['tag'] in tags: if not serverResults[serverResult]['tag'] in tags:
@ -101,6 +103,11 @@ else:
print bcolors.WARNING + str(solutionToSend['problemId'])+" "+str(solutionToSend['seed']) + " solution evaluation pending" + bcolors.ENDC print bcolors.WARNING + str(solutionToSend['problemId'])+" "+str(solutionToSend['seed']) + " solution evaluation pending" + bcolors.ENDC
elif scores[key] != serverResults[key]['score']: elif scores[key] != serverResults[key]['score']:
print bcolors.FAIL + str(solutionToSend['problemId'])+" "+str(solutionToSend['seed']) + " score differ: " + str(scores[key]) + " != " + str(serverResults[key]['score']) + " (server)" + bcolors.ENDC print bcolors.FAIL + str(solutionToSend['problemId'])+" "+str(solutionToSend['seed']) + " score differ: " + str(scores[key]) + " != " + str(serverResults[key]['score']) + " (server)" + bcolors.ENDC
elif serverScores[key]['score'] > scores[key]:
print bcolors.FAIL + str(solutionToSend['problemId'])+" "+str(solutionToSend['seed']) + " better solution alredy exists on the server: " + serverScores[key]['solutions'] + bcolors.ENDC
print 32432432
elif not key in serverScores:
print "cazziammolla"
print "Tags statistics:" print "Tags statistics:"
for tag in tags: for tag in tags:
print " %s: %d"%(tag, tags[tag]) print " %s: %d"%(tag, tags[tag])


+ 1
- 0
solutions/2.0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000385.strategy2-500M View File

@ -0,0 +1 @@
{"seed": 0, "tag": "strategy2.500M", "solution": "kkbkkbkkbkkbkkbkbkkpkkpkpaalpaapaalpaakkkkbkpbdldlldbdbkbdbkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkakkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkakkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbk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kbkkkkkei!kkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkabkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkei!kkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkabkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkei!l", "problemId": 2}

+ 1
- 0
solutions/2.13639.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342.strategy2-500M View File

@ -0,0 +1 @@
{"seed": 13639, "tag": "strategy2.500M", "solution": "kkbkkbkkbkkbkkbkbddddbkkkkbei!kkkkkpkkkkkpkkkkkpkkkkkppaalpaakkkkpaalpaakkbddddbkkkkpkpaalpaakkkkkbkkkkkbkkkkkakkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkakkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkbkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkakkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkbkkkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkbkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkakkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkbkkkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkbkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkakkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkbkkkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkpkei!", "problemId": 2}

+ 1
- 0
solutions/2.13948.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000357.strategy2-500M View File

@ -0,0 +1 @@
{"seed": 13948, "tag": "strategy2.500M", "solution": "kkbkkbkkbkkbkkbkbkkpkkpkpaalpaapaalpaakkkkkbkkakkkkkpddpkkkkbbbbbkpdppkkkppdddbkadddpkkkkkpkklddddbddapkdpppkkkpppdei!ppdei!ab", "problemId": 2}

+ 1
- 0
solutions/2.15385.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000326.strategy2-500M View File

@ -0,0 +1 @@
{"seed": 15385, "tag": "strategy2.500M", "solution": "kkbkkbkkbkkbkkbkbkkbdbkkkkkpkkkpaalpaakpkpddddbkkakkkkkbkkkkkbkkkakkkkkbkakkkkkbkakkkkkbkkkkkbkkkbkkkkkbkkkkkbkkkkkbkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpddddpkakkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkklkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkaddddpkkkkpddddpkkkkpddddpkkkkpddddpkkkkpddddpkkkkpddddppkei!", "problemId": 2}

+ 1
- 0
solutions/2.16783.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000331.strategy2-500M View File

@ -0,0 +1 @@
{"seed": 16783, "tag": "strategy2.500M", "solution": "kkbkkbkkbkkbkkbkbkkkkkbkkkkkbddddakkkkkbkbkpkpdddbkakkkkkbkkabpppaalpaapkkkkkpkkkkkpkkkkkpkkkkkpkkkkkakkkkkbkkkkkbkkei!", "problemId": 2}

+ 1
- 0
solutions/2.23027.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000341.strategy2-500M View File

@ -0,0 +1 @@
{"seed": 23027, "tag": "strategy2.500M", "solution": "kkbkkbkkbkkbkkbkbkkbkkakkpkkpkkpkkppaalpaakkbdddppaalpaapabbbdakkkkbdbdkladdlkei!", "problemId": 2}

+ 1
- 0
solutions/2.23862.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000381.strategy2-500M View File

@ -0,0 +1 @@
{"seed": 23862, "tag": "strategy2.500M", "solution": "kkbkkbkkbkkbkkbkbkkkkkbbdpkpdpkpdpklkkkkkbkkkkkbkkkkkbkadpkkkkkpkkkkkpkkkkklkkkkkbkkkkkbkkkkkakkkkkbdbkkbdakbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkbei!kkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpabkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbei!kkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpabkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbei!kkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpabkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbei!kkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpabkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbei!kkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpabkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbei!kkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpabkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbei!kkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpabkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbei!kkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpabkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbei!kkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpabkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbei!kkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpabkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkei!l", "problemId": 2}

+ 1
- 0
solutions/2.25221.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000381.strategy2-500M View File

@ -0,0 +1 @@
{"seed": 25221, "tag": "strategy2.500M", "solution": "kkbkkbkkbkkbkkbkbdbkbkkkkkkpkkkkkpkkkkkpkkkkkpkkkkkpkkkkkplkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkpkkkkkpkkkkkpkkkkkpkkkkkakkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkbkkkkkakkkkkei!kkkkkbddddakkkkkei!kkkkkbddddakkkkkei!kkkkkbddddakkkkkei!kkkkkbddddakkkkkei!kkkkkbddddakkkkkei!kkkkkbddddakkkkkei!kkkkkbddddakkkkkei!kkkkkbddddakkkkkei!kkkkkbddddakkkkkei!kkkkkbddddakkkkkei!kkkkkbl", "problemId": 2}

+ 1
- 0
solutions/2.29639.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000361.strategy2-500M View File

@ -0,0 +1 @@
{"seed": 29639, "tag": "strategy2.500M", "solution": "kkbkkbkkbkkbkkbkbkkkbbkddddbkkakkkkkpkkkkkpkkkkkpkpaalpaakpaalpaakkpkkpkpaalpaakpkkbkkbdlkkkddpppkppkpkdpppkpkkpkkpakei!", "problemId": 2}

+ 1
- 0
solutions/2.679.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000354.strategy2-500M View File

@ -0,0 +1 @@
{"seed": 679, "tag": "strategy2.500M", "solution": "kkbkkbkkbkkbkkbkbdbkbei!kkpkkpkkpkkppaalpaakkkpaalpaakkpaalpaakkkblppppdppkei!lkbei!kbkei!", "problemId": 2}

+ 1
- 1
submitted/2.json
File diff suppressed because it is too large
View File


Loading…
Cancel
Save