|
+5
So proud. |
|
0
tmw orz |
|
+16
Nice job! |
|
+21
I am sorry but may you please explain why everyone writes your handle? :D |
|
0
You can open PR with the tests :) |
|
+7
I have tried the diophantine equation but no luck. What a bad problem for C.. |
|
0
As far as I know, it will only show final standings. Maybe there is some website to view scoreboard in real-time? |
|
0
I believe standings will appear there soon: https://izho.kz/results/ |
|
0
+2 |
|
+18
Didn't your team also put kangoroos on some bags? :D |
|
+37
Is it down again? |
|
-10
I think 'Collections.sort' is too slow to pass tests with big constraints. |
|
+9
|
|
+14
IITU Open 2018 Spring |
|
0
There are no ups without falls.. |
|
+5
Думаю в скором времени их можно будет сдавать в этой группе |
|
+19
Супер! |
|
0
|
|
+7
Lovely scoring distribution |
|
0
Well, what if the value of |
|
+45
Guys, it is a prank! :D |
|
+31
Good luck, Zhan! I wish your dream come true! |
|
0
After educational round |
|
0
Good luck, everyone! |
|
0
Difficulty is the same as Div2 problems |
|
+17
As always, solution for a problem is quite easy but why I can't come up with it.. Anyway, thanks for great problems! |
|
+10
|
|
+1
Well, it works in logN. So I think you both do not need to worry about TL |
|
0
Explanation from AdiZer0 : The number is perfect square if all prime degrees are even. So you can do dp with bitmask since there is only 19 primes until 70. |
|
0
Didn't know this fact, thanks) |
|
0
How to solve C? |
|
0
What is an idea behind your DP approach? |
|
+5
|
|
0
Same thing here.. |
|
+1
|
|
На
komendart →
Разбор задач Технокубок 2018 — Отборочный Раунд 3 (и открытые рейтинговые раунды Codeforces Round 445 Div.1, Div.2), 9 лет назад
0
Well, your graph should be like a chain. If it is, just start to restore a string from a top of this chain one by one. |
|
На
komendart →
Разбор задач Технокубок 2018 — Отборочный Раунд 3 (и открытые рейтинговые раунды Codeforces Round 445 Div.1, Div.2), 9 лет назад
+1
Your resultant string can not contain similar letters. For example, if you have "aba" where 'a' appears two times, it is already impossible to construct a string where "aba" will be the most frequent string. Now, using this fact, let's build a graph on letters of our strings. If we have a string "curd", that means we need to create 3 edges {'c' -> 'u', 'u' -> 'r', 'r' -> 'd'}. If such directed graph does not contain loops, just restore strings and output them in lexicographical order |
|
На
komendart →
Разбор задач Технокубок 2018 — Отборочный Раунд 3 (и открытые рейтинговые раунды Codeforces Round 445 Div.1, Div.2), 9 лет назад
0
If there are cycles, answer is NO. Otherwise, restore all strings and output them in lexocgraphical order. 32280888 |
|
На
MikeMirzayanov →
About Codeforces Round 445 and Technocup 2018 — Elimination Round 3, 9 лет назад
+6
There are no ups without falls. |
|
+3
Здравствуйте, кажется регистрация не работает (при отправке заполненной формы). Или у меня одного так? |
|
0
In problem Div2E we also should take in mind that if |
|
0
No, it is perfect |
|
+26
I created the BFS algorithm by my own) It was required in the problem where fire was spreading in a maze) I coded about 200 lines of code :D |
|
0
Well, it is the well-known problem and it could be solved using a DP approach. Follow this link to find the analysis of that possible solution. |
|
0
Why is it enough to take only (l — 1) as the additional case? |
|
+22
You know you are a programming competitions addict if when you see word "tourist" somewhere you think about a CP Legend) |
|
0
Oh, sorry, there is no question anymore, i found out a mistake, here is AC solution : 27416622 |
|
0
May you please find a mistake behind a logic of my approach for problem C : 27416588 |
|
+8
What a beatiful solution for D ) |
|
+1
Код |
|
+1
Пусть dp[i][j] хранит количество способов так поменять знаки вопросов на префиксе длины i, что получается скобочное выражение с балансом j. Если не знаешь, что такое баланс, то поищи в гугле, там все объяснено. Тогда ответ будет храниться в dp[n][0]. Переходы такие: if (s[i] == '(') dp[i][j] = dp[i — 1][j — 1]. if (s[i] == ')') dp[i][j] = dp[i — 1][j + 1]. if (s[i] == '?') dp[i][j] = dp[i — 1][j — 1] + dp[i — 1][j + 1]. |
|
+5
Easy to see :DD |
|
0
Давай посчитаем динамику:
Тогда персчитывается вот таким образом: Переберем двумя циклами числа Тогда в состояние Код: Click |
|
0
Первый тур http://ioi.solf.io/statements_ru.pdf Задачи второго тура в группе Acm in Kazakhstan на Codeforces |
|
0
Вот еще: Go |
|
+4
|
|
-11
Тоже ищу сокомандника равного уровня) |
|
+3
I thinked it means Knapsack Problem) |
|
На
DeshiBasara →
ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) Editorial, 10 лет назад
+6
Because of collisions unordered_map works with complexity O(n) in worst case while worst case for simple map is O(logN) |
|
На
DeshiBasara →
ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) Editorial, 10 лет назад
0
Your submissions were skipped because someone has the same code as you. Did you use ideone.com or other online IDEs? If yes, many people had a chance to copy-paste your solution(cheaters) |
|
На
DeshiBasara →
ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) Editorial, 10 лет назад
-11
Можно пожалуйста вопрос про D. Предположим мы ходим по графу и разукрашиваем его, допустим текущая вершина покрашена в цвет 1. Далее мы продолжаем его разукрашивать, и каким-то образом идем по ребру веса 1 в эту же вершину и цвет не совпадает, мы сразу выводим "NO". Но разве мы не можем пойти по какому-нибудь другому пути, где их цвета совпадут? Почему это работает ? |
|
-6
Spoiler |
|
0
|
|
0
May you please explain this part of solution for D? Spoiler Why in worst case there is only 9 prime factors??! |
|
0
Oooh. ok) |
|
0
Hm. I think this test case is wrong because "220 275 330" are valid sides |
|
0
I tried to find a hack test case for O(n ^ 3) and O(n ^ 2) solutions.. :D |
|
0
How to solve C? |
|
+5
Кажется тут небольшая опечатка
Должно же быть |
|
+7
Absolutely agree) I think this type of problems is named as "constructive" |
|
+1
Guys, what is a type of problem C today? Is it math or just implementation? I have difficulties with this kind of problems |
|
+6
Good luck!) |
|
На
Vladik →
Совмещенные результаты короткого и длинного тура открытой олимпиады школьников [неофициальные], 10 лет назад
+21
gepardo уже прошел в заключительный этап по результатам первого тура) |
|
На
gKseni →
Короткий тур отборочного этапа XI Открытой олимпиады школьников по программированию: до 17 января 2017, 10 лет назад
+12
UPD По многочисленным просьбам было принято решение продлить короткий тур отборочного этапа на один день. Теперь стартовать виртуальное соревнование можно до 23:59:59 17 января. |
|
0
Yes, and dp[i] = dp[i / 2] + dp[i / 2 + (i % 2)]; |
|
+6
Hope this will help |
|
+2
Also ready) |
|
+5
Сейчас здесь можно сдавать задачи с Жаутыковской олимпиады 2014 года |
|
0
Эта задача была у нас на сетевой олимпиаде, остались только условия( |
|
На
gKseni →
Регистрация на Открытую олимпиаду университета Иннополис для школьников 7-11 классов по математике и информатике: до 1 декабря, 10 лет назад
+1
Solution from Marik Let pref[i] be the maximum volume of liquid that we can get by doing some opreations on prefix i, the same for suf[i], but here we calculate maximum volume that we can get on suffix i. Therefore,
Then iterate i from 1 to n and calculate this value:
|
|
На
gKseni →
Регистрация на Открытую олимпиаду университета Иннополис для школьников 7-11 классов по математике и информатике: до 1 декабря, 10 лет назад
0
Не очень понимаю, почему формула именно такая, можете объяснить |
|
0
Можете пожалуйста пояснить вот эти слова из разбора для задачи D: Click |
|
На
gKseni →
Регистрация на Открытую олимпиаду университета Иннополис для школьников 7-11 классов по математике и информатике: до 1 декабря, 10 лет назад
0
Можете пожалуйста рассказать как решать С и Д на 100 баллов |
|
На
gKseni →
Регистрация на Открытую олимпиаду университета Иннополис для школьников 7-11 классов по математике и информатике: до 1 декабря, 10 лет назад
0
Можешь пожалуйста скинуть код, если несложно |
|
0
Можешь пожалуйста объяснить как она решается? |
|
На
gKseni →
Регистрация на Открытую олимпиаду университета Иннополис для школьников 7-11 классов по математике и информатике: до 1 декабря, 10 лет назад
+3
Можете пожалуйста рассказать как решается задача D |
|
+11
Можно еще |
|
0
|
|
0
It makes your input/output more faster. It is really important to use it when you read big data. For example, when number of elements in your array reaches 2e5) |
|
+6
Your solution is right) http://codeforces.me/contest/738/submission/22402437 I only added ios_base and it got 'Accepted' :DDDD |
|
0
Автокомментарий: текст был обновлен пользователем ironsoul (предыдущая версия, новая версия, сравнить). |
|
+24
Қош Келдіңіздер!) Добро пожаловать!) |
|
-8
Dinic maxflow : https://github.com/ADJA/algos/blob/master/Graphs/Dinic.cpp Ford-Fulkerson maxflow : https://github.com/ADJA/algos/blob/master/Graphs/FordFulkerson.cpp |
|
0
“Code what you can, with what you have, where you are.” P.S. Original quote: “Do what you can, with what you have, where you are.” -Theodore Roosevelt |
|
+8
Instead of Thousands Words : |
|
-8
Something More Than Just Lines of Code |
|
-45
|