| Show all threads Hide all threads Show all messages Hide all messages |
| WA test #15 | Kamaldinov Dmitry | 1106. Two Teams | 12 Sep 2014 23:03 | 1 |
|
| AC with segment tree in O(N*log(32000)) | [RISE] Levon Oganesyan [RAU] | 1028. Stars | 12 Sep 2014 12:18 | 1 |
|
| A new problem 1598 "DSA Attack" is added | Vladimir Yakovlev (USU) | 1598. DSA Attack | 11 Sep 2014 22:53 | 1 |
|
| Bad problem statement | Kuros | 1219. Symbolic Sequence | 11 Sep 2014 12:32 | 2 |
Are you sure you really mean "subsequence" and not "substring"? I really can not understand what the problem means. |
| Wrogn Answer #4 | uzbat | 1902. Neo-Venice | 10 Sep 2014 15:39 | 1 |
#include <iostream> #include <cstdio> using namespace std; int main(int argc, char **argv) { int n, t; double *gandolas, *res; double s; cin >> n >> t >> s; gandolas = new double[n]; res = new double[n]; for(int i=0; i<n; i++)cin >> gandolas[i];
for(int i=0; i<n; i++){ if(i==0) if(gandolas[i] >= s){ res[i] = s + (t-(gandolas[i] - s))/2; s = res[i]; } else{ res[i] = s + (t-(s - gandolas[i]))/2; s = res[i]; } else{ res[i] = s + (gandolas[i] - gandolas[i-1])/2; s = res[i]; } } for(int i=0; i<n; i++)printf("%.6lf\n", res[i]); return 0; } can't imagine a test that make it crash |
| To admins AC and wrong answer | WhiteMan | 1113. Jeep | 10 Sep 2014 13:19 | 1 |
I got AC, but my program on the input data 10 9 Throws 13, although the correct answer 12. Edited by author 22.09.2014 17:03 |
| Wa #3 | Andrew Shirshov [YSPU] | 1727. Znaika's Magic Numbers | 5 Sep 2014 08:37 | 6 |
Wa #3 Andrew Shirshov [YSPU] 17 Oct 2009 19:28 What can be wrong? Did you have such result? we are the same [ OTL ] but now maybe i know why. i did not see the word "different" Edited by author 24.02.2010 10:13 deleted Edited by author 26.07.2010 02:19 |
| Runtime error (integer division by zero) in test 70 | Anton Malyuta | 2011. Long Statement | 5 Sep 2014 06:04 | 11 |
My code: /* Code deleted. */ we get the WA12. What's the problem? Edited by author 09.11.2013 22:57 You will easily get overflow... 100! ~ 9*10^157 which is a "little" too big Oh, right! Thank you very much. It turns out I have the wrong formula? Thank you very much. I change long long to double. ;) This problem is possible to solve without any formulas - just using one sorting of 3-element array and 3 IF statements - so, you won't have problems with overflows Please, could you explain a bit more your approach? Edited by author 05.09.2014 03:37 Just got A.C Just need to change all variable and return values to double. Count number of 1s 2s and 3s. Take the factorials of these numbers however you feel right, divide by total length,n. Please, could you explain a bit more your approach? Thanks you very much! I did this: 4 If. One for n > 5, the another threes for n == 5, n == 4 and n == 3. |
| самое короткое решение в мире | kostan3 (kostan3@spaces.ru) | 1000. A+B Problem | 4 Sep 2014 21:56 | 2 |
31 байт ни кто короче уже не сделает |
| 81 байт | kostan3 (kostan3@spaces.ru) | 1293. Eniya | 4 Sep 2014 21:53 | 5 |
81 байт kostan3 (kostan3@spaces.ru) 4 Sep 2014 21:42 Re: 81 байт kostan3 (kostan3@spaces.ru) 4 Sep 2014 21:42 ахахахах))) 54 байта на паскале Re: 81 байт kostan3 (kostan3@spaces.ru) 4 Sep 2014 21:46 Re: 81 байт kostan3 (kostan3@spaces.ru) 4 Sep 2014 21:49 51 байт (интересно за 50 выйду) Re: 81 байт kostan3 (kostan3@spaces.ru) 4 Sep 2014 21:53 |
| How can I sort in this problem? | K-A-R-E-N | 1203. Scientific Conference | 4 Sep 2014 19:33 | 2 |
Can anybody help me??? Please... i think this problem can be solved using greedy algo too, sort them according to the ending time, take a time variable 't',we took the interval whose starting time is later than 't' and choose the one which ends the earliest. for example: 1-4 4-14 6-10 3-7 11-16 sorted: 1-4 3-7 6-10 4-14 11-16 here 1-4 ends the earliest, then we have a choose 6-10 (as 3-7 starting time is before 4) .... i think you get the idea. |
| to admin | kostan3 (kostan3@spaces.ru) | | 4 Sep 2014 02:55 | 13 |
to admin kostan3 (kostan3@spaces.ru) 3 Nov 2013 17:25 зашол на тимус попытался отправить задачу такой ид не сушкствует востановил аккаут посредством е-mail но уже совсем другой ид и не одной решённой задачи из тех которых я решал помогите Edited by author 03.11.2013 19:20 Нефиг было читерить. P.S. Список твоих друзей радует: http://spaces.ru/friends/?r=friends/index&name=kostan3(ON) ChErEpOk12 (B) (ON) I_HE3HAKOMKA_SU (S) (ON) KOT_B_ZAKOHE (S) (ON) ViP_BJIoHdiHkA (G) (OFF) K__I__S__S__A (G) 15:28 (OFF) vladimir0333 (B) 15:25 (OFF) Jeff_Hardy011 (B) 15:24 (OFF) SpirriT (B) 15:24 (OFF) MUCC_HEBUHHOCTb (B) 15:18 (OFF) P_A_U_T_I_N_A (B) 15:17 (OFF) CEKC_KOPOJIEBA (G) 15:15 (OFF) BuBNuK7 (S) 15:05 (OFF) ivan3258001 (B) 15:04 (OFF) adidas3228 (S) 14:53 (OFF) LEGENDA_CS_1_6 (S) 14:49 (OFF) vint1997 (B) 14:39 Какой класс окончил? Edited by author 03.11.2013 17:37Да ты даже сегодня уже считерил, сдав на задачу 1999 чужой исходник. :) Твоё решение с ID 5310504 это решение с ID 5308260 by awpris. я просто нашёл этот код в интернете это чит? А ты как думаешь? Сдал код, который не сам написал, и удивляешься, что админы за это удалили аккаунт. :) Решать задачи нужно самому! я просто нашёл этот код в интернете это чит? что делать? зашол на тимус попытался отправить задачу такой ид не сушкствует востановил аккаут посредством е-mail но уже совсем другой ид и не одной решённой задачи из тех которых я решал помогите Edited by author 03.11.2013 19:20 зашол на тимус попытался отправить задачу такой ид не сушкствует востановил аккаут посредством е-mail но уже совсем другой ид и не одной решённой задачи из тех которых я решал помогите Edited by author 03.11.2013 19:20 Иди в дотан поиграй, там как раз минера скоро добавят |
| New tests were added, the problem was rejudged (-) | Samsonov Alex [USU] | 1080. Map Coloring | 4 Sep 2014 02:38 | 1 |
|
| by admins | kostan3 (kostan3@spaces.ru) | | 3 Sep 2014 18:59 | 6 |
by admins kostan3 (kostan3@spaces.ru) 28 Nov 2013 18:42 |
| something is wrong with the checker for visual c++ 2010 | the_swede | 1752. Tree 2 | 3 Sep 2014 16:31 | 1 |
My program outputs the following on test 1: 0 1 9 3 4 4 4 4 4 1 and I get WA1. However if I use G++ 2011 on the same code then I pass test 1 and get TLA on test 8. |
| test 22 | Dmitriy Black | 1795. Husband in a Shop | 3 Sep 2014 15:54 | 2 |
test 22 Dmitriy Black 28 Aug 2011 19:14 Help please. give please test #22. I can't Imagine what can be wrong in my programm hi ,do you konw why it's wrong now? Could you please help me? |
| wa4 | scorpiowf | 1103. Pencils and Circles | 2 Sep 2014 23:51 | 2 |
wa4 scorpiowf 1 Jul 2009 08:45 how about the test4??? Edited by author 01.07.2009 09:47 need some hint about this test! Pls!!! |
| Why WA#4? | TTTD | 1358. Cables | 2 Sep 2014 20:05 | 1 |
|
| What's the meaning of hint?? | zylm | 1011. Conductors | 2 Sep 2014 19:30 | 1 |
|
| I wish you could delete posts. | Kuros | 1161. Stripies | 2 Sep 2014 15:25 | 2 |
But you can't, so here is a meaningless post. Originally it was about not understanding the sample because for some reason I thought there were four stripies, one of them weight 3. I sat for 20 minutes trying to figure out why the sample was correct. :) Edited by author 29.06.2013 16:13 This post is not meaningless at all. I was sitting, counting stripies weight from the sample with a 3-weight stripie too. So thank you for clarifying! |