| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3611 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | Radewoosh | 3415 |
| 8 | Um_nik | 3376 |
| 9 | maroonrk | 3361 |
| 10 | XVIII | 3345 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 162 |
| 2 | adamant | 148 |
| 3 | Um_nik | 146 |
| 4 | Dominater069 | 143 |
| 5 | errorgorn | 141 |
| 6 | cry | 138 |
| 7 | Proof_by_QED | 136 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 10 | soullless | 133 |
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://mirror.codeforces.com/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 |
|---|


