Skip to content

Instantly share code, notes, and snippets.

@dkuebric
Created July 30, 2014 04:45
Show Gist options
  • Save dkuebric/750aaec7713a57bb6083 to your computer and use it in GitHub Desktop.
Save dkuebric/750aaec7713a57bb6083 to your computer and use it in GitHub Desktop.
dan@ponderous:~/code/blotto $ time ./genteam 10 100 10000 | ./blotto 10 100 | head -n 5
Pos Name W D L Pts Soldiers
1 team6326 7404 1766 829 16574 7 14 2 13 11 13 12 12 14 2
2 team8345 6667 2033 1299 15367 11 2 12 12 7 12 10 11 11 12
3 team202 6671 2015 1313 15357 10 12 12 11 11 4 14 12 3 11
4 team6897 6534 2073 1392 15141 13 3 5 11 12 11 12 11 10 12
real 0m2.844s
user 0m2.842s
sys 0m0.010s
dan@ponderous:~/code/blotto $ time ./genteam 10 100 10000 | ./blotto 10 100 | head -n 5
Pos Name W D L Pts Soldiers
1 team7011 6925 1960 1114 15810 12 12 12 9 13 10 3 3 13 13
2 team1490 6770 2113 1116 15653 4 13 13 2 11 14 11 12 12 8
3 team36 6569 2190 1240 15328 8 13 12 12 2 3 12 15 14 9
4 team6774 6514 2017 1468 15045 10 11 10 11 12 11 2 10 13 10
real 0m2.784s
user 0m2.789s
sys 0m0.012s
dan@ponderous:~/code/blotto $ time ./genteam 10 100 10000 | ./blotto 10 100 | head -n 5
Pos Name W D L Pts Soldiers
1 team6687 6941 1985 1073 15867 13 12 4 12 2 9 10 12 13 13
2 team9163 6873 1965 1161 15711 12 12 13 12 5 12 9 12 2 11
3 team9470 6620 2074 1305 15314 14 14 9 11 11 13 1 12 10 5
4 team9582 6555 2095 1349 15205 11 10 11 13 11 8 13 1 9 13
real 0m2.773s
user 0m2.783s
sys 0m0.011s
dan@ponderous:~/code/blotto $ time ./genteam 10 100 10000 | ./blotto 10 100 | head -n 5
Pos Name W D L Pts Soldiers
1 team809 7044 1913 1042 16001 13 14 11 11 11 0 13 8 7 12
2 team2848 6647 2145 1207 15439 9 14 5 13 12 8 13 13 1 12
3 team1916 6697 1964 1338 15358 11 5 12 11 14 13 11 11 10 2
4 team3949 6644 2032 1323 15320 5 11 9 12 13 2 14 11 11 12
real 0m2.804s
user 0m2.811s
sys 0m0.009s
dan@ponderous:~/code/blotto $ time ./genteam 10 100 10000 | ./blotto 10 100 | head -n 5
Pos Name W D L Pts Soldiers
1 team3884 6934 2105 960 15973 6 10 1 14 12 4 14 12 13 14
2 team4081 6845 2091 1063 15781 12 13 3 12 14 13 11 13 3 6
3 team3006 6861 1969 1169 15691 12 9 12 5 2 13 12 12 11 12
4 team8975 6783 2122 1094 15688 14 12 10 13 8 1 15 14 10 3
real 0m2.776s
user 0m2.781s
sys 0m0.011s
dan@ponderous:~/code/blotto $ time ./genteam 10 100 10000 | ./blotto 10 100 | head -n 5
Pos Name W D L Pts Soldiers
1 team9872 7447 1640 912 16534 10 11 13 12 12 12 8 0 12 10
2 team1012 6907 2010 1082 15824 13 0 11 8 10 12 6 13 14 13
3 team4295 6835 1961 1203 15631 13 6 1 12 12 13 10 9 13 11
4 team5817 6775 1987 1237 15537 15 10 2 12 12 10 14 3 12 10
real 0m2.815s
user 0m2.822s
sys 0m0.008s
dan@ponderous:~/code/blotto $ time ./genteam 10 100 10000 | ./blotto 10 100 | head -n 5
Pos Name W D L Pts Soldiers
1 team801 6894 1921 1184 15709 11 10 11 13 12 14 9 0 7 13
2 team2417 6680 2036 1283 15396 2 13 9 13 5 11 12 11 11 13
3 team7780 6629 2060 1310 15318 9 11 7 1 11 13 13 10 13 12
4 team6473 6605 2065 1329 15275 3 11 9 13 14 3 10 13 13 11
real 0m2.796s
user 0m2.803s
sys 0m0.011s
dan@ponderous:~/code/blotto $ time ./genteam 10 100 10000 | ./blotto 10 100 | head -n 5
Pos Name W D L Pts Soldiers
1 team6240 6970 1813 1216 15753 10 11 10 9 1 12 11 12 13 11
2 team8036 6840 2068 1091 15748 12 3 14 3 5 14 14 12 12 11
3 team1867 6802 2053 1144 15657 9 11 13 2 12 13 13 13 10 4
4 team2773 6650 2008 1341 15308 13 12 12 9 12 13 9 12 7 1
real 0m2.785s
user 0m2.791s
sys 0m0.012s
dan@ponderous:~/code/blotto $ time ./genteam 10 100 10000 | ./blotto 10 100 | head -n 5
Pos Name W D L Pts Soldiers
1 team335 7480 1787 732 16747 13 12 11 2 14 2 15 12 14 5
2 team3618 7064 1870 1065 15998 3 10 14 13 12 14 10 11 2 11
3 team6697 7020 1851 1128 15891 11 12 12 14 11 10 0 8 13 9
4 team5828 7033 1824 1142 15890 11 11 10 11 1 10 12 13 9 12
real 0m2.798s
user 0m2.809s
sys 0m0.008s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment