# | User | Rating |
---|---|---|
1 | tourist | 3993 |
2 | jiangly | 3743 |
3 | orzdevinwang | 3707 |
4 | Radewoosh | 3627 |
5 | jqdai0815 | 3620 |
6 | Benq | 3564 |
7 | Kevin114514 | 3443 |
8 | ksun48 | 3434 |
9 | Rewinding | 3397 |
10 | Um_nik | 3396 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 155 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
10 | nor | 152 |
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 |
---|