| Показать все ветки Спрятать все ветки Показать все сообщения Спрятать все сообщения |
| WA 19 | 🎧 Vadim Barinov \Frez_Fstilus/'``' :) | 2112. Полевые логи | 27 май 2026 14:56 | 1 |
WA 19 🎧 Vadim Barinov \Frez_Fstilus/'``' :) 27 май 2026 14:56 Test: 12 A B C D E F G H I J K L 12 A HIT B IN HEAD A REVIVE B C HIT D IN HEAD C REVIVE D D HIT E IN HEAD D REVIVE E F HIT G IN HEAD F REVIVE G G HIT H IN HEAD G REVIVE H I HIT J IN HEAD I REVIVE J Answer: CORRECT A B I J C D E K F G H L |
| Heavily incorrect russian statement | Igor Parfenov | 1288. Астролокация | 27 май 2026 04:17 | 1 |
There are a lot of mistakes in russian statement. I don't think, that is makes sense to write all of them - just read the english statement. |
| WA #25 | 👨🏻💻 Spatarel Dan Constantin | 1271. Лоцман | 26 май 2026 17:33 | 1 |
WA #25 👨🏻💻 Spatarel Dan Constantin 26 май 2026 17:33 Input: 100 100 0 10 10 10 0 0 19 11 1 10 10 20 10 20 20 Output: -1 |
| WA #2 | Rouk | 1304. Параллелепипед | 26 май 2026 03:51 | 3 |
WA #2 Rouk 19 авг 2012 00:07 no point of S lies in G (but may lie on its side) |
| WA #3 | 👨🏻💻 Spatarel Dan Constantin | 1664. Нефтепроводы | 25 май 2026 22:38 | 1 |
WA #3 👨🏻💻 Spatarel Dan Constantin 25 май 2026 22:38 Input: 6 0 0 1 1 1 0 2 1 2 0 3 0 7 1 2 12 1 3 2 2 4 10 3 4 10 3 5 10 4 6 1 5 6 13 Output: 11 1 2 9 1 3 2 2 4 9 4 3 8 3 5 10 4 6 1 5 6 10 |
| To admins: New tests | Milanin | 1589. Сокобан | 25 май 2026 04:09 | 4 |
Hey admins, I've sent a couple of tests to timus_support@acm.timus.ru that my AC solution was struggling with. Please validate if they can be added to the system. Your tests have been added. Thanks! Milanin, thanks a lot for new tests! Now I've got AC only with neural networks solution. All solutions with just "optimizations"/"bad subfields & patterns", etc. didn't allow me to pass new tests. This is impressive. I still can't believe that there's a problem on Timus that has a meaningful neural network based solution. |
| WA #13 | 👨🏻💻 Spatarel Dan Constantin | 2050. 3D-моделирование | 23 май 2026 15:19 | 1 |
WA #13 👨🏻💻 Spatarel Dan Constantin 23 май 2026 15:19 Input: 0 0 0 0 0 1 0 1 0 0 1 -1 |
| Question | AlexF [USTU Frogs] | 1442. Дымолётный порошок | 23 май 2026 01:37 | 2 |
Question AlexF [USTU Frogs] 7 ноя 2007 18:22 Please, tell me the volume of the smaller part of the cone in sample. Edited by author 07.11.2007 18:23 |
| Help! (+) | Dart MirzMan C++ Edition (Mirzoyan Alexey, Rybinsk SAAT) | 1566. Треугольные открытки | 22 май 2026 23:45 | 2 |
Help! (+) Dart MirzMan C++ Edition (Mirzoyan Alexey, Rybinsk SAAT) 9 окт 2007 00:53 100 100 100 100 100 100 ? 200 100 100 100 50 50 ? The answer is YES to both examples. |
| overrated | ~'Yamca`~ | 1424. Маршрутка | 20 май 2026 22:25 | 1 |
|
| To Admins | 👨🏻💻 Spatarel Dan Constantin | 2216. Большой лифт | 19 май 2026 19:21 | 4 |
To Admins 👨🏻💻 Spatarel Dan Constantin 18 мар 2026 10:40 Hi! I believe test #3 is invalid - there is no way to get from floor 1 to floor N. Can you please check? Thank you! Test is valid, but a bit unusual :) Try the boundary cases |
| Hint | Dmi3Molodov | 1450. Российские газопроводы | 19 май 2026 16:59 | 1 |
Hint Dmi3Molodov 19 май 2026 16:59 In Soviet times, several gas pipelines were sometimes built from A to B. Edited by author 19.05.2026 21:32 |
| WA #3 | 👨🏻💻 Spatarel Dan Constantin | 1477. Самолёты | 19 май 2026 13:53 | 1 |
WA #3 👨🏻💻 Spatarel Dan Constantin 19 май 2026 13:53 Input: 2 0 0 1 0 1 0 Output: 2 |
| Is something wrong with my algorithm? | upb_guys | 1477. Самолёты | 19 май 2026 13:51 | 5 |
My algorithm is as follows: I consider planes that cut the sphere in half - they are determined by two points in the input and the center of the sphere. I split the input points in three sets according to this plane - points "above" the plane (say N1 points), points "under" the plane (say N2 points) and points in the plane (all of them being on one circle). Obviously at this moment these points on this circle are not visible since they aren't on the open emisphere, so I try to move this emisphere just a little to make the maximum number of points visible. To handle this, I find the maximum number of points P on some semi-circle. So I conclude that the maximum number of visible points using this plane is the maximum between N1+P and N2+P. Can you give me a case for which this algorithm is not correct? I get WA on test-case 7. Thanks. Your algorithm is correct. Try these tests: Input #1: 1 0 0 1 Output #1: 1 Input #2: 3 0 0 1 0 0 100 0 0 600 Output #2: 3 Test #2 is incorrect, isn't it? "There is not more than one plane at each point of the Earth's surface." I was getting WA #7 due to acos(1.000001) or acos(-1.000001) |
| hard version | kostan3 | 1399. Экономный директор | 19 май 2026 11:05 | 1 |
This problem has a more difficult version. on the acmp.ru website problem 2142 (values increased) problem 2249 (tests increased and more difficult tests) |
| Some hints. | Bliss | 1839. Ментакулус | 18 май 2026 14:55 | 2 |
You can solve the problem without using floating point calculations. in32 is enough for everything. You also needn't to implement BSTrees or Segment trees here. Using ordered sets is enough. #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> typedef __gnu_pbds::tree< Point, __gnu_pbds::null_type, std::less_equal<>, __gnu_pbds::rb_tree_tag, __gnu_pbds::tree_order_statistics_node_update> ordered_set_less; typedef __gnu_pbds::tree< Point, __gnu_pbds::null_type, std::greater_equal<>, __gnu_pbds::rb_tree_tag, __gnu_pbds::tree_order_statistics_node_update> ordered_set_greater; I was able to solve this problem using Fenwick Trees. They are very easy to code and very fast, thus they are preferred. |
| WA #5 | 👨🏻💻 Spatarel Dan Constantin | 1839. Ментакулус | 18 май 2026 14:53 | 1 |
WA #5 👨🏻💻 Spatarel Dan Constantin 18 май 2026 14:53 Input: 1 2 -2 2 0 0 2 2 -1 10 1 10 Output: 0 |
| Let's talk | Igor E. Tuphanov | 1429. Печенье | 17 май 2026 22:32 | 7 |
Why there is so large discussion about easy problems and so few about interesting ones? FE, let's talk about floating point arifmetics. Did you maid eps (very small 'soft' constant) to 'soft' your calcualtions? What value of your constant? I made it 1e-12 - it vas too small, even 1e-8 was too hard. But with 1e-6 everything was O'Key. So far I have WA13 and tried 1e-6, 1e-8 and 1e-10. All give WA13. There is a test nearby in this forum: 2 0 0 10000 9999 0 1 Edited by author 29.08.2008 16:22 Re: Let's talk Vedernikoff Sergey (HSE: EconomicsForever!) 29 авг 2008 13:36 All the calculations can be done with exact arithmetics - you have integer numbers in the input! I doubt integer solution is possible under given TL/ML. And 1e-8 is enough to solve the problem using double. Edited by author 29.08.2008 18:14 I have a question - is WA13 about precision or not? Finally got it!!! :) WA13 is about coinciding circles, they requied different handling... Input: 2 0 0 10000 9999 0 1 Output: 3 |
| what is test22 | Erjin Zhou | 1429. Печенье | 17 май 2026 22:28 | 2 |
I got WA on test22 for a long time... what is test22? if anyone know,please email zhouerjin@gmail.com I was failing this test due to precision issues. Luckily, I was also failing the test provided by yuyan in another thread, so I was able to track down the issue very fast. |
| WA #5 | 👨🏻💻 Spatarel Dan Constantin | 1429. Печенье | 17 май 2026 22:19 | 1 |
WA #5 👨🏻💻 Spatarel Dan Constantin 17 май 2026 22:19 It appears you are not handling multiple identical circles correctly. |