| Show all threads Hide all threads Show all messages Hide all messages |
| easy bfs | 👑TIMOFEY👑`~ | 1301. Cube in Labyrinth | 17 Jul 2023 08:22 | 1 |
|
| WA6 | 👑TIMOFEY👑`~ | 2147. City Building | 16 Jul 2023 23:49 | 1 |
WA6 👑TIMOFEY👑`~ 16 Jul 2023 23:49 4 5 4 5 1 2 2 1 2 3 3 2 3 4 ans: 14 |
| test 7 wrong | Andrewq | 1005. Stone Pile | 15 Jul 2023 06:08 | 1 |
Edited by author 15.07.2023 07:47 |
| Damned solution | andreyDagger`~ | 1148. Building Towers | 15 Jul 2023 01:29 | 1 |
I used my own hash map with modulo 1e5, and buckets with size equal to one |
| WA7 | Parassat Kyzyrkanov | 1574. Mathematicians and brackets | 14 Jul 2023 12:24 | 1 |
WA7 Parassat Kyzyrkanov 14 Jul 2023 12:24 it's the case where count of '(' is greater than ')'. For example: (( or (() |
| WA 38 IIIIIIIIII GOOOOOOOOOOOOOOOOT ACCCCCCCCCCCCCCCCCCCCC | 👑TIMOFEY👑`~ | 1912. Titan Ruins: Passing through Walls | 12 Jul 2023 15:29 | 1 |
its wa is something like a Ivan's Car problem |
| WHY WA#12 | name | 1336. Problem of Ben Betsalel | 11 Jul 2023 22:48 | 3 |
[code deleted] Edited by moderator 27.07.2023 17:22 I know that 12th test is so big. Maybe it will help you Edited by author 19.09.2012 02:57 the solution in C++ gave WA12, but the same algorithm in Python gave AC. I think, overflow is comming. |
| About new lines | Igor Parfenov | 1542. Autocompletion | 11 Jul 2023 15:44 | 1 |
There is no checker in this problem. In my solution I 1. Print new line after query even if there is no strings which satisfy it 2. Don't print new line after last query |
| I don't understand the first example | __Andrewy__ | 2022. Riding a Toad | 10 Jul 2023 02:27 | 2 |
Pls, explain me why i'm wrong Let T is answer. t in [0,T]: x(t)=vx*t, y(t)=vy*t-g*t^2/2 t > T: x(t) = x(T) + (vx+ux)(t-T) = (vx+ux)t - ux*T y(t) = y(T) + (vy - g*T + uy)*(t-T)-g * (t-T)^2/2 = (-g/2)*t^2 + (vy+uy)*t-y*T t1, t2: x(t1)=L, x(t2)=L+l t1 = (L+ux*T)/(vx+ux) t2 = (L+l+ux*T)/(vx+ux) tv: y'(tv)=0, tv = (vy+uy)/g Then i use conditions: 0<T<L/vx, T<2*vy/g h<y(t1)<h+d, h<y(t2)<h+d if tv in (T-eps, T+eps) then y(tv)<h+d My algo: find all candidates from conditions and then check that candidate is good My code: [code deleted] Edited by moderator 27.07.2023 17:23 "Nod can throw a stone with an ABSOLUTE initial speed (ux, uy)." |
| wa 28 | 👑TIMOFEY👑`~ | 1447. Portkey Network | 9 Jul 2023 13:07 | 1 |
wa 28 👑TIMOFEY👑`~ 9 Jul 2023 13:07 |
| Useful test | Yury_Semenov | 1058. Chocolate | 7 Jul 2023 17:22 | 1 |
5 0 0 4 0 4 2 2 4 0 2 answer: 3.640719 |
| wa17 | 👑TIMOFEY👑`~ | 1905. Travel in Time | 6 Jul 2023 12:28 | 1 |
wa17 👑TIMOFEY👑`~ 6 Jul 2023 12:28 u visit end vertex more than one time, idk why we need only 1 time it visit, but by that i got ac |
| Can the answer be N if there is no *? | Jurca Razvan | 1559. TruCoders Linguistics | 5 Jul 2023 16:43 | 2 |
|
| Can you explain this test? | Mickkie | 1559. TruCoders Linguistics | 5 Jul 2023 16:40 | 2 |
a0a* F My WA output N (infinite) I interpret this as (a)concat(0)concat(a*) = {a, aa, aaa, aaaa, ...} This expression describes words of the form xyz, where x comes from the set {a}, y comes from the set {} (i.e. empty set), and z comes from the set {empty_word, a, aa, aaa, ...}. Since y must be an element of an empty set, there is no such word of the form xyz, so the answer is F. |
| Circles can be quite hardly deformed | Igor Parfenov | 1378. Artificial Intelligence | 3 Jul 2023 17:43 | 1 |
If you are solving through comparing Min and Max distance from some border point to center of figure, then check for circle in following way: Max - Min <= 3. |
| wa 1,2,3,4 and greedy algo | 👑TIMOFEY👑`~ | 1721. Two Sides of the Same Coin | 3 Jul 2023 09:55 | 1 |
why greedy with catching two mins dont work pseydotests: #1: test test, universal base #2: universal, base base, universal #3: universal base test universal |
| For who get WA#26 or WA#30 | hyman00 | 1965. Pear Trees | 2 Jul 2023 13:53 | 1 |
Try the test 8 1 7 4 6 3 5 2 8 and 8 8 2 5 3 6 4 7 1 . Both tests have solutions. |
| wa13 | 👑TIMOFEY👑`~ | 1580. Dean's Debts | 1 Jul 2023 11:36 | 1 |
wa13 👑TIMOFEY👑`~ 1 Jul 2023 11:36 |
| wa 24 | Raphael Osipov | 2142. Magic | 29 Jun 2023 02:05 | 1 |
wa 24 Raphael Osipov 29 Jun 2023 02:05 1000000000 1000000000 1000000000 0 0 0 answer: It is a kind of magic |
| WA #8 | Levon Oganesyan | 1592. Chinese Watches | 28 Jun 2023 11:28 | 2 |
WA #8 Levon Oganesyan 29 Nov 2013 16:49 Please give me some tests, my program passed all the tests on the forum Edited by author 22.07.2020 04:11 3 3:00:00 4:00:00 12:00:00 answer: 4:00:00 4 1:00:00 6:00:00 6:00:00 12:00:00 answer: 6:00:00 3 1:00:00 6:00:00 12:00:00 answer: 1:00:00 |