| Show all threads Hide all threads Show all messages Hide all messages |
| WA7 | 👑TIMOFEY👑`~ | 1254. Die Hard | 26 Jun 2023 19:02 | 1 |
WA7 👑TIMOFEY👑`~ 26 Jun 2023 19:02 you don't know how to write bfs, try watching videos for beginners |
| WA6 | 👑TIMOFEY👑`~ | 1254. Die Hard | 26 Jun 2023 18:40 | 1 |
WA6 👑TIMOFEY👑`~ 26 Jun 2023 18:40 |
| If you have WA#24 | Dmitrii | 1901. Space Elevators | 25 Jun 2023 22:18 | 1 |
Try this test: 9 6 2 3 2 5 3 4 1 6 1 Answer: 8 1 6 1 2 2 5 3 4 3 |
| if WA#8 | liushujia | 1146. Maximum Sum | 24 Jun 2023 15:40 | 9 |
if WA#8 liushujia 24 Aug 2011 18:59 try this: sample input: 2 -1 -2 -3 -4 sample output: -1 |
| WA#5_Есть_пробелы_на_входе | Klim Shramko | 1881. Long problem statement | 23 Jun 2023 16:59 | 1 |
Код идеален но не проходил 5 тест. Писал на пайтоне. Просто ради эксперимента к sys.stdin.read() добавил стрип - sys.stdin.read().strip() и вуаля - AC. По условиям задачи, замечу, вроде так быть не должно. Если нужен сам рабочий код - пишите |
| The most stupid Mistake ever. TL15 | andreyDagger`~ | 1996. Cipher Message 3 | 23 Jun 2023 01:41 | 1 |
I spent 20 submissions, because of TLE15. I tried many fft implementations. But the error was in my z function |
| To admins | Kairom `Ekexity 💻 | 1119. Metro | 21 Jun 2023 04:11 | 3 |
To admins Kairom `Ekexity 💻 23 Feb 2016 11:20 In a task it is told that a way of departure (1; 1) though, actually, the way of departure has to be (0; 0) Nop, he is starting out from the south-west corner of the 1;1 quarter Isn't that the same as 0;0? |
| Take care of the bees! | bsu.mmf.team | 1983. Nectar Gathering | 17 Jun 2023 02:09 | 1 |
My bee had to make only 200 flights, if you know what I mean :) 100 flights wasn't enough to get AC |
| Wrong answer test 8 | Леонид | 1496. Spammer | 15 Jun 2023 22:13 | 2 |
n = int(input()) sp = [] c = 0 for i in range(n): b = input() sp.append(b) sp.sort() for i in sp: if sp.count(i) >= 2 and c == 0: print(i) c = 1 if sp.count(i) < 2: c = 0 |
| WA #7! Please? give me this test! | PiroTech | 1496. Spammer | 15 Jun 2023 22:12 | 2 |
Pascal var a,b: array[1..100] of string; i,j,k,n: integer; s: string; f: boolean; begin readln(n); for i:=1 to n do begin readln(s); f:=false; for j:=1 to n do if a[j] = s then f:=true; if f = false then a[i]:=s else begin f:=false; for j:=1 to n div 2 do if b[j] = s then f:=true; if f = false then b[i]:=s; end; end; for i:=1 to n div 2 do if b[i] <> '' then writeln(b[i]);
end. |
| wa test 13 | MaxxxCoder | 1343. Fairy Tale | 15 Jun 2023 19:17 | 2 |
please can anyone give me test #13? oh i found the test 9 000123000 --------- 123000000143 (my program) |
| wa 6,9,11,12 | Ade | 1265. Mirror | 15 Jun 2023 18:38 | 1 |
no good epsilon for this problem use big integers. |
| Wrong Answer 8 (spoilers) | Vladimir Li | 1960. Palindromes and Super Abilities | 12 Jun 2023 20:15 | 2 |
Using long long hashes, any ideas? |
| bitset is power | Dmitrii | 2108. Oleg and Little Ponies | 7 Jun 2023 20:47 | 1 |
brute-force solution with bitsets gets AC in 0.187 sec |
| Some tests to clear problem definition (+) | Dmitry 'Diman_YES' Kovalioff. Retired | 1346. Intervals of Monotonicity | 4 Jun 2023 15:29 | 19 |
I've solved this problem finally, of course, but I still suppose its definition to be unclear a bit :) So some tests for you: 1 3 1 1 1 1 // 1 5 1 2 3 4 5 // 1 5 5 4 3 3 3 1 // 1 7 1 2 2 3 3 4 5 1 // 1 5 1 2 3 2 1 2 // 1 6 1 2 3 2 3 4 2 - that's the point! // 1 6 3 2 1 4 4 5 2 // 1 6 1 2 1 2 1 2 3 // 1 6 1 2 3 1 2 1 3 Thank you. I've solved this problem finally too. The problem statement is quite ambiguous. Thank you for clarification. Thank you for tests! Who has problem with test 9 - use test 1 12 1 2 3 3 2 1 1 2 3 4 5 4 Answer - 4 Thanks! Problem statement really lacks definition for flat slopes... Thanks! Если честно, то условие ваще дурацкое. >> 1 6 1 2 3 2 3 4 2 - that's the point! >> Why so? =( I know, that problem of my solution in this but don't understand.. I think it should be 3. cause it can be divided in (1,2,3) and (2,3,4) > 1 6 > 1 2 3 2 3 4 Well, I see, it can be divided into (1, 2, 3) and (2, 3, 4). But I don't see anything in the statement, that restricts me to divide into (1, 2), (3, 2), (3, 4). Does this mean, that complexity should be minimal? Then why cant it be divided into (1,2) , (3,2) , (3) , (4) ? Because (1,2) , (3,2) , (3) , (4) = complexity 4 is not optimal Less complexity is: (1,2) , (3,2) , (3,4) = complexity 3 Optimal is: (1,2,3) , (2,3,4) = complexity 2 It is not necessary to connect point #3 and point #4 Hi! 1 3 2 10 5 ->2 * 1 5 20 20 200 20 200 ->2 * 1 5 1 2 2 1 1 ->2 * WA#21 MOPDOBOPOT (USU) 15 Sep 2012 23:32 This test helped me to overcome WA21: input: 1 7 2 2 1 2 2 1 2 output: 3 Thanks for the test cases. Agreed. The problem is easy, but the sample I/O is very misleading. |
| solution in python | Michael | 1854. Negotiations with Parthians | 4 Jun 2023 02:43 | 1 |
Can this problem be solved in python? Can't pass test 39 |
| to admin for input description | Ade | 1838. Samurai's Stroke | 2 Jun 2023 14:56 | 1 |
"The second line contains n different positive integers, which are less than the L", That's result translated from RUS version. But the ENG version has not the word "positive". Please can you take a look? |
| Warning and Test 5 | Igor Parfenov | 1265. Mirror | 2 Jun 2023 02:40 | 1 |
Do not believe the simplicity of the task at first glance. This is NOT a geometry problem. This is a "precision" problem. Also, I misunderstood problem a little. If the second point is in front of mirror, but can not be seen in it, it is INVISIBLE. It is checked in test 5. Input 7 2 5 3 1 3 4 4 Output INVISIBLE |
| Admin! test is weak! (Look the reply) | Radi Muhammad Reza | 1886. Trip 2 | 31 May 2023 00:11 | 3 |
my simple dp solution got tle 17. after optimizing with bin_search and map (for searching if a range of edges already visited) but surprisingly this got me wa 17. please, help. some useful test cases or hint would be really appreciated. Thanks in advance :) Edited by author 30.03.2012 22:05 got AC but shouldn't have. i used map to keep mark upto what edges outgoing from a certain node we have already dp'ed. and return in log(n). but when i have to dp more then dp'ed and entered into map for that node. however, this gave wa 17. then i dp'ed some more node although already dp'ed. if this 'some more' is less than 9 then i get wa on (18~23) tests. but when it is >=9 i get AC. i dunno why my soln was WA, it seemed perfect. but even more surprising when i get AC like this. Portion of my code:- #define WHATTHEHECK 9 ... map<int,double> optimize[MAX]; ... int lim1=arr[edgeno].dtime+arr[edgeno].dur,lim2=lim1+arr[edgeno].delay; int s1=v[to].size(),s2=s1; int lo=0,hi=s1-1,mid; while(lo<=hi){ mid=(lo+hi)/2; if(lim1<=arr[v[to][mid]].dtime){ hi=mid-1,s1=mid; }else lo=mid+1; } lo=0,hi=s2-1; while(lo<=hi){ mid=(lo+hi)/2; if(lim2<=arr[v[to][mid]].dtime){ hi=mid-1,s2=mid; }else lo=mid+1; } int i=-1; if(optimize[to].size()==0) i=v[to].size()-1; else i=min((*optimize[to].begin()).first+WHATTHEHECK,v[to].size()-1); if(i>=s1){ for(;i>=s1;--i){ optimize[to][i]=ret1=min(ret1,dp(v[to][i])); } } if(s1<v[to].size()) ret1=optimize[to][s1]; if(s2<v[to].size()) ret2=optimize[to][s2]; ps: i would be really glad if someone explain me what i did wrong and what's going on here :) I got WA17 when I wrongly (overwrite old mean) insert into segment tree flights with same departure airport and same departure time. |
| Tests | andreyDagger`~ | 1429. Biscuits | 30 May 2023 23:33 | 1 |
Tests andreyDagger`~ 30 May 2023 23:33 1 0 0 1 2 2 0 -1 1 0 3 3 3 2 -1 0 1 1 0 2 4 2 0 0 5 3 0 2 3 3 0 0 6 -1 0 5 5 0 1 5 4 0 0 5 10 10 5 10 0 5 0 10 5 6 8 0 0 1 2 0 1 4 0 1 4 2 1 4 4 1 2 4 1 0 4 1 0 2 1 10 2 1 1 5 1 1 5 2 3 0 -5 6 0 0 2 0 0 4 6 |