-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.py
324 lines (317 loc) · 4 KB
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
z = {"1":"Annie","2":"Olaf","3":"Galio","4":"TwistedFate","5":"XinZhao","6":"Urgot","7":"Leblanc","8":"Vladimir","9":"Fiddlesticks","10":"Kayle","11":"MasterYi","12":"Alistar","13":"Ryze","14":"Sion","15":"Sivir","16":"Soraka","17":"Teemo","18":"Tristana","19":"Warwick","20":"Nunu","21":"MissFortune","22":"Ashe","23":"Tryndamere","24":"Jax","25":"Morgana","26":"Zilean","27":"Singed","28":"Evelynn","29":"Twitch","30":"Karthus","31":"Chogath","32":"Amumu","33":"Rammus","34":"Anivia","35":"Shaco","36":"DrMundo","37":"Sona","38":"Kassadin","39":"Irelia","40":"Janna","41":"Gangplank","42":"Corki","43":"Karma","44":"Taric","45":"Veigar","48":"Trundle","50":"Swain","51":"Caitlyn","53":"Blitzcrank","54":"Malphite","55":"Katarina","56":"Nocturne","57":"Maokai","58":"Renekton","59":"JarvanIV","60":"Elise","61":"Orianna","62":"MonkeyKing","63":"Brand","64":"LeeSin","67":"Vayne","68":"Rumble","69":"Cassiopeia","72":"Skarner","74":"Heimerdinger","75":"Nasus","76":"Nidalee","77":"Udyr","78":"Poppy","79":"Gragas","80":"Pantheon","81":"Ezreal","82":"Mordekaiser","83":"Yorick","84":"Akali","85":"Kennen","86":"Garen","89":"Leona","90":"Malzahar","91":"Talon","92":"Riven","96":"KogMaw","98":"Shen","99":"Lux","101":"Xerath","102":"Shyvana","103":"Ahri","104":"Graves","105":"Fizz","106":"Volibear","107":"Rengar","110":"Varus","111":"Nautilus","112":"Viktor","113":"Sejuani","114":"Fiora","115":"Ziggs","117":"Lulu","119":"Draven","120":"Hecarim","121":"Khazix","122":"Darius","126":"Jayce","127":"Lissandra","131":"Diana","133":"Quinn","134":"Syndra","136":"AurelionSol","141":"Kayn","142":"Zoe","143":"Zyra","145":"Kaisa","147":"Seraphine","150":"Gnar","154":"Zac","157":"Yasuo","161":"Velkoz","163":"Taliyah","164":"Camille","166":"Akshan","200":"Belveth","201":"Braum","202":"Jhin","203":"Kindred","221":"Zeri","222":"Jinx","223":"TahmKench","234":"Viego","235":"Senna","236":"Lucian","238":"Zed","240":"Kled","245":"Ekko","246":"Qiyana","254":"Vi","266":"Aatrox","267":"Nami","268":"Azir","350":"Yuumi","360":"Samira","412":"Thresh","420":"Illaoi","421":"RekSai","427":"Ivern","429":"Kalista","432":"Bard","497":"Rakan","498":"Xayah","516":"Ornn","517":"Sylas","518":"Neeko","523":"Aphelios","526":"Rell","555":"Pyke","711":"Vex","777":"Yone","875":"Sett","876":"Lillia","887":"Gwen","888":"Renata","895":"Nilah","897":"KSante"}
roles = ["top", "jgl", "mid", "bot", "sup"]
def crpring(cr):
print(z[str(cr & 0b111111111111)], roles[cr >> 12])
print(str(cr & 0b111111111111) + "_" + str(cr >> 12))
print()
x = """4342
4229
4182
4125
4260
64
76
4150
44
4334
427
8273
12292
8268
12330
59
4119
8460
4194
421
4160
236
4164
897
12523
234
136
8199
4176
12811
4171
8428
4127
4203
11
12422
3
85
84
246
4187
4216
4983
4172
79
8438
517
35
68
429
9089
268
157
12717
42
48
12454
8256
8334
4218
8413
4259
150
266
8234
5
221
58
12369
106
12305
8253
92
8
104
12806
4517
12524
777
4237
30
8276
4126
45
887
8302
4098
4299
1
8196
8709
4330
4200
4155
8430
8328
4174
127
876
56
4217
12421
8326
8247
12509
12449
8283
80
23
8335
4131
4113
9068
9079
43
8295
8747
8251
12451
31
4175
8222
78
67
4523
223
4613
8193
8355
12355
122
8205
4144
12407
13
8349
50
12303
4101
8319
12511
39
102
10
126
12433
12351
164
8271
4110
8415
41
12510
54
12339
8237
12445
12398
8288
4120
8969
33
12310
112
17
8621
166
107
8200
4124
4972
113
8260
8426
8293
8217
8195
8284
8339
90
8458
8437
4296
4107
4202
12786
8710
8307
57
114
8323
8358
38
14
8297
4209
6
8248
8202
12317
875
8233
34
4123
8277
516
62
518
8304
133
4227
8223
12384
24
8255
8903
4341
12333
8619
2
12309
8231
4140
8296
8216
12306
4158
8198
8246
74
19
8235
8353
98
4198
4129
8250
4115
69
4156
8209
8291
86
8261
82
77
12338
8215
8197
4350
8272
8242
12490
420
12648
240
12403
75
4105
83
8221
8325
8230
8708
8210
8282
8356
12357
4152
8318
8206
8254
27
4173
4132
4250
8201
12362
8228
8218
12318
8275
8267
12435
9067
4178
13183
8226
36
154
8266
8278
8274
8612
8294
4153
4128
8290
8346
8432
8219"""
for row in x.split("\n"):
crpring(int(row))
print("\n")
crpring(8264)
crpring(4342)
crpring(16404)
crpring(16520)
print("_---")
print(crpring(154))
print(crpring(3))