Hi all!
Did you know that SRM 763 is scheduled in 15:00 July 17, 2019 UTC+0? I didn't, and I bet you also didn't, so here is a helpful reminder.
Let's wait for hmehta to announce the writers.
And, don't forget the TCO19 Round 3B!
№ | Пользователь | Рейтинг |
---|---|---|
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 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
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 |
Hi all!
Did you know that SRM 763 is scheduled in 15:00 July 17, 2019 UTC+0? I didn't, and I bet you also didn't, so here is a helpful reminder.
Let's wait for hmehta to announce the writers.
And, don't forget the TCO19 Round 3B!
Название |
---|
Yup, and unforturnately it conflicts with the todays round at Codeforces ..
Writer's announcement: https://codeforces.me/blog/entry/68444
Uhh, so, in div1-500 according to my solution the answer to the last example is equal to 166346919873852152, which is less than intended 166346919874650680.
I spent ~30 minutes trying to understand why is it wrong and didn't succeed at it. Can you help me out? Maybe, provide some smaller testcase on which my solution produces incorrect output... My solution: Vxf2zW
My solution just straight-forwardly checks costs for all possible roots with some speed-ups from segment tree, so if there is a mistake at all, it should be in implementation, but I couldn't find it. What was the intended one?..
Hey, here are some notes for last 2 problems: http://p.ip.fi/JWIJ
Yeah, I'm finding the test case
Upd:
(7, {-1}, {}, 190629, 682098057, 1000) Ans: 3866
Ok, I debugged my solution. If anyone's curious, correct version of this approach is: 9fgmC2. It has lots of code, but still allows to solve problems like this without much thinking (if you won't do some stupid bugs, ofc).