I have recorded a screencast & editorial for Codeforces Round 947 (Div. 1 + Div. 2). It will upload on https://youtu.be/DrBmSO86xUQ in an hour or two.
UPD: the video is uploaded.
№ | Пользователь | Рейтинг |
---|---|---|
1 | jiangly | 3898 |
2 | tourist | 3840 |
3 | orzdevinwang | 3706 |
4 | ksun48 | 3691 |
5 | jqdai0815 | 3682 |
6 | ecnerwala | 3525 |
7 | gamegame | 3477 |
8 | Benq | 3468 |
9 | Ormlis | 3381 |
10 | maroonrk | 3379 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 168 |
2 | -is-this-fft- | 165 |
3 | Dominater069 | 161 |
4 | Um_nik | 159 |
4 | atcoder_official | 159 |
6 | djm03178 | 157 |
7 | adamant | 153 |
8 | luogu_official | 150 |
9 | awoo | 149 |
10 | TheScrasse | 146 |
I have recorded a screencast & editorial for Codeforces Round 947 (Div. 1 + Div. 2). It will upload on https://youtu.be/DrBmSO86xUQ in an hour or two.
UPD: the video is uploaded.
Название |
---|
You should add "screencast" to the title so that it differs from the announcement title.
Thank you!
Auto comment: topic has been updated by orz (previous revision, new revision, compare).
I guess there is some issue in judgement of question B
Below are the two solutions , both are accepted
but both are giving diffrent answers on this test case
n = 4
arr = [4 , 8 , 20 , 10] answer should be yes
this is the first solution( giving YES for the above test case)
include<bits/stdc++.h>
using namespace std;
int main() { int tt; cin >> tt; for(int t = 0; t < tt; t++ ) { int n; cin >> n; int a[n]; set s; for(int i=0; i<n; i++) { cin>>a[i]; s.insert(a[i]); } sort(a,a+n);
}
Below is the second one (giving NO for the above test case)
include<bits/stdc++.h>
using namespace std;
int main() { int tt; cin >> tt; for(int t = 0; t < tt; t++ ) { int n; cin >> n; int a[n]; sets; for(int i=0; i<n; i++) { cin>>a[i]; s.insert(a[i]); } sort(a,a+n);
}
why both are accepting
Please send both solutions to the problem and hack one of them using the corresponding interface.
Auto comment: topic has been updated by orz (previous revision, new revision, compare).