| # | User | Rating |
|---|---|---|
| 1 | Benq | 3676 |
| 2 | jiangly | 3670 |
| 3 | Kevin114514 | 3657 |
| 4 | maroonrk | 3355 |
| 5 | Um_nik | 3353 |
| 6 | squareOf105 | 3346 |
| 7 | tourist | 3343 |
| 8 | strapple | 3324 |
| 9 | heuristica | 3322 |
| 10 | jiangbowen | 3291 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | AmShZ | 143 |
| 5 | Um_nik | 141 |
| 6 | Errichto | 139 |
| 7 | adamant | 137 |
| 8 | BledDest | 133 |
| 8 | maroonrk | 133 |
| 10 | qwexd | 130 |
While trying to solve this, I made 2 submissions with only difference in using Array<Array<Int>> instead of Array<IntArray>.
Can anyone please explain reason for this?
Problem B of previous Div 2 (711), 2 almost same code gives different verdicts, TreeSet gives TLE, while Mutatable List got Accepted.
Using TreeSet: TreeSet using frequency array gives TLE, even though treeset has Log(n) removal time.
Using MutableList: Gets AC even with linear removal time.
I'm not sure what am I missing.
I don't know if there's a better way to get the python submissions for a contest, but for this I wrote a small python utility that returns a set() of handles of member who submitted a particular problem in python.
import requests
import json
url = 'https://codeforces.me/api/contest.status?contestId=1453&from=1&count=15419'
r=requests.get(url=url)
data=r.json()
s=set()
for i in data:
for j in data['result']:
if((j['problem']['index']=='D' and j['verdict']=='OK' and (j['programmingLanguage']=='Python 3' or j['programmingLanguage']=='PyPy 3')) or (j['problem']['index']=='E' and j['verdict']=='OK' and (j['programmingLanguage']=='Python 3' or j['programmingLanguage']=='PyPy 3'))):
s.add(j['author']['members'][0]['handle'])
print(s)
damirych akshitm16 6paths s_prateek26 ami_1708 gourav2001k nitin4184 084-076-069 YMSeah Earagav guading anishde85 silvertint tnarayanan lowking Pneumokogur8 vit_72 MaSkA05 vegetable_chicken1234567 LionCheetah QB_VN AdarshSrivastav tommyjiang Kinopitals manish.17 Kira_1234 aman1108 keroru coder_sounak codejunk sh1194 K1000 Pratyush1606 pedastrian57 erickjohnross TheVan titia vINOGRADIK Coki628 mesaliason Satwik_Tiwari prd_xxx harlem suncup224 90n lucifer1004 Karthikch_6699
| Name |
|---|


