| Показать все ветки Спрятать все ветки Показать все сообщения Спрятать все сообщения |
| Special Judge? | fishpear | 1752. Дерево 2 | 24 дек 2021 16:14 | 2 |
The problem says the program only needs to print out any of the answers. but why i WA in the first test but can pass all my tests? |
| hint | Pavel | 1989. Подпалиндромы | 23 дек 2021 13:16 | 1 |
hint Pavel 23 дек 2021 13:16 If you are storing hashes in a segtree and using some custom prime divider the values of the parent nodes can be less than the child nodes because the remainder "makes a round", so to subtract u have to add that round, I think this is what is actually happening in test 2. |
| Can Vova go down by cableways? | Yermak | 1841. Канатные дороги | 23 дек 2021 06:43 | 6 |
Subj. Btw, what is the problem with the 23rd test? it's help me for wa23 4 0 4 0 4 0 1 0 1 1 0 1 1000000 0 1000000 0 Indeed! Thank you very much! Thank you very much! it's realy helpful!!! Very help!! Thank you again! |
| WA #6 | Furkat Ahrolov | 1207. Медиана на плоскости | 22 дек 2021 04:28 | 1 |
WA #6 Furkat Ahrolov 22 дек 2021 04:28 Help please!! What is test 6???? |
| WA #3 | Furkat Ahrolov | 1112. Покрытие | 21 дек 2021 00:57 | 1 |
WA #3 Furkat Ahrolov 21 дек 2021 00:57 |
| Easy problem | ValenKof | 1140. Случай на болоте | 20 дек 2021 16:22 | 2 |
Just try to replace x, y or z using equation y = x + z (vector form). Count of cells on path is |x| + |y| + |z| + 1. This is brilliant Just try to replace x, y or z using equation y = x + z (vector form). Count of cells on path is |x| + |y| + |z| + 1. |
| Weak tests | Vedernikoff Sergey | 1486. Одинаковые квадраты | 20 дек 2021 12:32 | 2 |
Testset for this problem is very weak. Program, that works ~5 secs. on my tests got AC in less than 1 sec. on jury tests... why don't you share your strong tests with us then? |
| WA test #11 | Pascal or C++ | 1486. Одинаковые квадраты | 20 дек 2021 12:32 | 5 |
Can you help me? I WA test #11 Can you help me? I WA test #11 Sorry. I can't. Oh! I can't help you too. I can help you, but I won't |
| going craaaaaaazy! | Rachel | 1486. Одинаковые квадраты | 20 дек 2021 12:10 | 2 |
WA on the 5th test! It passed all random tests on my computer. got no idea! Please help me! Edited by author 12.03.2008 17:48 |
| help please test #11 | qweqweasd | 1408. Умножение многочленов | 19 дек 2021 00:33 | 5 |
It gives WA please give me test for it (test #11) +1 I have the same problem. Could somebody give a test, please? Tried all the tests of this forum, neither of those helped me. My WA11 x-x x-x Result: 0 My result before AC on WA11: <empty line> |
| If you have WA @ 10 | 198808xc | 1527. Плохие дороги | 18 дек 2021 18:57 | 3 |
This test could help you. 5 8 1 5 2 200 1 2 1 100 99 2 3 0 0 0 3 2 0 0 0 2 4 0 0 0 4 2 0 0 0 3 4 0 0 0 4 3 0 0 0 4 5 1 100 99 You can draw this graph on paper, and the answer will be obvious. I have this output: 99 3 1 4 8 Good luck. I got RE9.I got WA10 after use your test.So interesting.QAQ Sorry my bad English. Edited by author 17.08.2021 06:35 In my case WA 10 was caused by one directional roads, not <->. "In a country, there is a number of cities connected by unidirectional roads" |
| if you have good solution, but programme was not accepted / Если ваша программа работает, но почему-то не принимается | Egor Sibriaev | 1192. Мячик во сне | 18 дек 2021 16:34 | 1 |
try changing the cycle: while(energy > 0.01) to while (energy > 0.00000000001) Maybe this will help you Попробуйте поменять цикл while (energy > 0.01) на while (energy > 0.00000000001) Возможно, это поможет |
| WA 5 | andreyDagger | 1414. Астрономическая база данных | 18 дек 2021 16:14 | 1 |
WA 5 andreyDagger 18 дек 2021 16:14 |
| Overrated | andreyDagger | 1094. Дисплей | 18 дек 2021 13:32 | 1 |
Damn, how is this problem 440 difficulty, I solved it in 10 minutes |
| If you're using segment tree and getting RE | andreyDagger | 2109. Туризм на Марсе | 17 дек 2021 21:07 | 1 |
|
| Don't waste your time if you can't solve this problem | mksdbk | 1260. Фотограф-зануда | 16 дек 2021 21:09 | 1 |
The DP version actually harder than you think. The solution with magic formula is disappointing. Go solve other problems and come back later. The score of problems are calculated by number of accepted solutions, and some problems are very popular and people find out answers and send ready solutions. |
| Advices after almost a week spent on this task. | prituladima | 1307. Архиватор | 14 дек 2021 16:37 | 1 |
0. I wanted to implement universal approach with Huffman coding + compressing binary code to 64 base code. Not just eng text property (I was upset, because for so interesting task so stupid solution works). 1. I'm Java developer, and I afraid that Java consume too much memory even for input. So I have to rewrite all to cpp. 2. Thinks that costs me a lot of time. Input in cpp. (If you can explain what is wrong. please do ) WRONG inputData = ""; std::string line = ""; while (std::getline(std::cin, line)) { inputData += line; //inputData.push_back('\r');//todo maybe we need \r\n inputData.push_back('\n'); } CORRECT inputData = ""; int c; while ((c = getchar()) != EOF) inputData.push_back((char)c); 3. Escaping characters to produce cpp code: std::string escape(char ch) { switch (ch) { case '\'': return "\\'"; case '\"': return "\\\""; case '\\': return "\\\\"; case '\b': return "\\b"; case '\f': return "\\f"; case '\n': return "\\n"; case '\r': return "\\r"; case '\t': return "\\t"; default: return {ch}; } } I finally got AC. So I wish you good luck with this problem and thank to author so interesting problem. |
| Для решения через regex wrong answer | Igor | 1001. Обратный корень | 12 дек 2021 05:18 | 1 |
import re pattern = re.compile(r"\d+") matches = re.findall(pattern, input()) for i in matches[::-1]: print(f"{float(i)**0.5:.4f}") Input: " 1427 0 \n 876652098643267843 \n5276538" |
| No way | andreyDagger | 1000. A+B Problem | 11 дек 2021 16:04 | 1 |
No way andreyDagger 11 дек 2021 16:04 No way, this become harder than 1293. Eniya. We did it, guys!!! |
| How to get 0.015 solution on python? | Egor Sibriaev | 1000. A+B Problem | 11 дек 2021 15:11 | 1 |
|