Показать все ветки Спрятать все ветки Показать все сообщения Спрятать все сообщения |
Страница 2 |
hint for wa24 | Anton | 1612. Трамвайный форум | 25 июл 2021 06:50 | 1 |
check your last string after FOR. I missed this but now Accepted. |
if you have WA25 | WA24 (Java | C#) | Maxm | 1612. Трамвайный форум | 21 апр 2018 20:22 | 1 |
String symbols = "`~!№*@#$%^&*()-_=+\\|[{]};:'\",<.>/?в„– \n\r\t"; ;) |
hint wa22 | Evgeniy[VVV] | 1612. Трамвайный форум | 29 янв 2015 16:29 | 1 |
check this test: tram,tram Right answer is Tram driver :) Edited by author 29.01.2015 16:30 |
AC Java using Reg expression | Paata Julakidze[GTU] | 1612. Трамвайный форум | 19 апр 2014 17:26 | 1 |
"-|[.|,|!|?|-|:|\t|\n|\r|\\s]" |
some tests | FrostCode | 1612. Трамвайный форум | 22 июн 2016 01:50 | 2 |
Input: trams trolleybuses trambus bus Output: Bus driver Input: tram tramtrolleybus bus Output: Tram driver Input: trams trolleybus trolleybus tram! tram. Output: Bus driver Input: bus bus tratrolleybus trolleybu tra. Output: Bus driver Input: trams trolleybuses trambus bus Output: Bus driver Input: tram tramtrolleybus bus Output: Tram driver Input: trams trolleybus trolleybus tram! tram. Output: Bus driver Input: bus bus tratrolleybus trolleybu tra. Output: Bus driver Thanks a lot... :) |
Страница 1 |
help read data in Java | Anna | 1612. Трамвайный форум | 24 ноя 2013 23:16 | 1 |
Hello, pleaze help me to read data correctly in Java. I've spend a lot of time with no result. |
WA #24 | FBI | 1612. Трамвайный форум | 21 ноя 2013 11:45 | 1 |
Who can tell test 24? May b someone also got in trouble with this test. |
To admins | alex_r | 1612. Трамвайный форум | 18 янв 2013 19:13 | 3 |
Could you please check my submissions. The accepted one (I actually copy-pasted it from this forum) gives wrong answer to the following data set: tram (only 4 symbols in input.txt file) The output is "Bus driver". My original solution (#4725054) gives "Tram driver" answer to the mentioned data set, but fails on test #6. Can you please give information what is wrong with this test? Thank you. Last line of input data is always terminated with end of line character (it is the usual rule of Timus Online Judge), so this test is incorrect. Ok, got this. So I assume the problem is on my side. Will try to find what is wrong |
WA 25 | jiyujie | 1612. Трамвайный форум | 14 июн 2021 10:14 | 3 |
WA 25 jiyujie 12 апр 2012 21:34 i need some test... i guess the mistake is about "tram", i don't know which pattern of "tram*" should be counted I had a WA25 when didn't count last word. I assume there are empty lines there |
Why am i constantly getting WA24? | ONU_1785 | 1612. Трамвайный форум | 7 янв 2012 01:40 | 3 |
Edited by author 07.01.2012 01:46 Edited by author 07.01.2012 01:46 |
Why WA on Test 24? | Dr Zhihua Lai | 1612. Трамвайный форум | 28 авг 2011 22:49 | 2 |
Edited by author 01.12.2011 22:52 now AC, a small mistake... |
how read data? | tttwet | 1612. Трамвайный форум | 30 июл 2010 13:17 | 2 |
hi guys how i must read string, using c# i mean read the WHOLE string, not just trim before '\n' sry for my language while((line=Console.ReadLine())!=null){ //..code here } |
Hint for WA6 | Leonid (SLenik) Andrievskiy | 1612. Трамвайный форум | 14 июн 2021 10:15 | 6 |
Try this tests INPUT tram OUTPUT Tram driver INPUT tram.tram trolleybus OUTPUT Tram driver Edited by author 10.03.2010 23:01 Test 6 is <tram,> or <trolleybus,>. (whitout <>) ;-) Edited by author 28.02.2014 17:38 |
To admins | LLIRIK | 1612. Трамвайный форум | 28 авг 2011 22:35 | 2 |
If there is ! , : . after word 'tram' or 'trolleybus' should we count this case??? |
No subject | TESTER | 1612. Трамвайный форум | 12 апр 2012 22:04 | 2 |
anyone knows test 6, I have been with this problem for 1 hour test 6 should take account ",.?!-: " |
Weak tests | Fyodor Menshikov | 1612. Трамвайный форум | 3 янв 2009 21:32 | 3 |
Problem statement does not say that last line of input should be terminated with end of line. I know AC solution that answers "Bus driver" for test "tram" (without quotes and without end of line, whole file length is 4 letters). In all new problems of Timus Online Judge on default last line of input data always should be terminated with end of line characters. Edited by author 03.01.2009 14:05 Which problems of Timus Online Judge are new? Why is there this limitation? Files in real world have no such limitation... |
AC Solution works wrong on this test: | [SSAU] Igor Shamashov | 1612. Трамвайный форум | 14 ноя 2008 13:38 | 2 |
IN: tram tram OUT: Bus driver Please rejudge!! Sorry for my bad english :) |
Wa8 | Anatolij | 1612. Трамвайный форум | 4 ноя 2008 20:39 | 1 |
Wa8 Anatolij 4 ноя 2008 20:39 wa8 Why? Whether I can see the test? |
Почему во втором примере троллейбус? | MOPDOBOPOT | 1612. Трамвайный форум | 6 ноя 2008 09:50 | 4 |
Почему во втором примере троллейбус? по-моему, слово "tram" там встречается 2 раза, а "trolleybus" только 1! =( Because there are no "tram", only "trams" :) They are considered different P. S. Speak English please. Hey Alex, maybe this is habitual, but you do create misleading statements. The fact that I answered the question does not imply that I participated in creating the problem statement. |
What´s the test 22? | DaneiL | 1612. Трамвайный форум | 6 июл 2008 23:40 | 1 |
|