# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | awoo | 154 |
8 | Dominater069 | 154 |
10 | luogu_official | 150 |
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 |
---|