Skip to content

Instantly share code, notes, and snippets.

Avatar

Wonjohn Choi wonjohnchoi

View GitHub Profile
@wonjohnchoi
wonjohnchoi / SimpleAuthServer.py
Last active Aug 26, 2015 — forked from fxsjy/SimpleAuthServer.py
SimpleAuthServer: A SimpleHTTPServer with authentication
View SimpleAuthServer.py
import BaseHTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
import sys
import base64
key = ""
class AuthHandler(SimpleHTTPRequestHandler):
''' Main class to present webpages and authentication. '''
def do_HEAD(self):
View B-large-practice (1).in
100
5 1 3
1 2 3
5 1 3
1 3 2
5 1 3
2 1 3
5 1 3
2 3 1
5 1 3
View A-large-practice (4).in
6000
308436464205151562 1850618785230909388
60603649654442191 727243795853306359
231839427620128932 1391036565720773608
85301933116989686 1364830929871835097
64988967223557343 1559735213365376509
202790353757729950 811161415030919806
105551677651173181 844413421209385476
18939616890015759 1060618545840884044
373665302816212423 1494661211264849698
View A-large-practice.in
100
3 8
5 6 9 4 8 2 1 7
3 1
2
3 100
2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 131072 262144 524288 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000
3 100
1 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
1000000 1
View A-large-practice (3).in
This file has been truncated, but you can view the full file.
100
aoueoiiuiiuxgcjhxdhqvtbdwpvcdnslwcnrmbklxbhqcmgxpkvhzviououuiiueeueueauiaieoeauouuoouaouooaoiueeaiao 43
gumieejeuibadugbnssvxhdehgeaifiwlzfopeadldfidjouicgtoabaliaicuwiczorjsuooebadmuxoiirurxunr 4
uoiiieiaooueiuiiaiaaieeuuoaiuiaoiuiuaiueirlyxlydqtcpkzjxbzfchjktvywwmntouiuuuiuiioouoaieuuieeeaoaoae 30
eabqfescesqljeioxorfiatyjhaqeuxauwexktucjiuooejlsuiyzeeijocdiohfthiqywaankuzhyeuiavnehscfoiouow 3
doagonsauaeeycwpaioppuaokeoixenautqauriakaeofeecoaaqeaoioeewaereqmeooaajefuapetxoawziqhbw 5
oaidralopugtpasiibaouwxlotabgeigkeaoorexeuujeagobnovgoevsmveynzoydeftczmgkojmygleaajefbz 3
oaplkvxocfsofuuixcniioeevuoexyetiuoqlusixebuatjoeiamoobeinuuindecuyaakwtnuiilxabriaueli 4
visnopfjuvraooixouuebeiwapfwevfwuviiauwecosozsrvjoaheoiiucliemaioiieeqteooufyseexe 5
View C-large-practice (3).in
20
2
0 3 0 2 10 2 3 -2
10 3 2 3 8 7 2 0
3
2 1 0 5 10 2 4 0
0 3 0 2 7 1 1 2
3 3 0 5 1 1 2 0
2
3 2 0 2 9 2 3 0
View gist:c32c1d386d19d5b4a1a4
20
522063451 67
113530876 164241873 241949780
217763558 415871225 380417730
191712793 264013077 61237311
425473444 451688593 281600965
290016075 442035083 188576155
32851617 311378463 726848509
276532719 355333252 99160789
88515033 320947189 125208738
View gist:7bcc0fb985b5bab5f576
100
1 10
0001001001
1100111110
1 10
0011010100
0100001001
120 21
000111000100101101101 000001001011001101010 101101111111010000100 000011100001110000111 101110111111100100011 000110100000001010000 111101010101111001110 010100000011110000101 010010001010100010010 001100100100011001101 111110111010111111010 011111100100010011100 111101000000010101100 011011101011101110101 100001110111001010010 111000110000000111010 101010111100011111111 101100100000100111101 001011111110001110101 010100111101010100001 000111010001100111001 010101010001110101010 011011011111110011000 010000001101011111010 101111010100101010001 111111000000011000011 000011001110100001011 101011100111010100001 001100000000011100001 011011101100110100101 101000001110100000001 111110011100101010100 110001010010011100111 000010011011111100101 100011010100000110001 111101101011000101101 011110011001011001000 001010010011010011000 100000000000000000001 000011110001101000110 000101101110010011001 111111110011011101100 110010100101010110110 0010010001111
View gist:230ea79e61675f10da0b
This file has been truncated, but you can view the full file.
20
42 666
0.104308 0.110244 0.123054 0.139895 0.146396 0.158453 0.163430 0.177967 0.183259 0.199843 0.203001 0.219224 0.220276 0.231556 0.241497 0.258185 0.267034 0.278901 0.281037 0.298000 0.305080 0.316720 0.321799 0.335429 0.348526 0.355872 0.362512 0.376473 0.389147 0.391513 0.409458 0.413499 0.425177 0.435104 0.449720 0.452172 0.465132 0.470360 0.480629 0.490515 0.508111 0.517732
1000 1500