Show all threads Hide all threads Show all messages Hide all messages |
hint for wa24 | Anton | 1612. Tram Forum | 25 Jul 2021 06:50 | 1 |
check your last string after FOR. I missed this but now Accepted. |
Hint for WA6 | Leonid (SLenik) Andrievskiy | 1612. Tram Forum | 14 Jun 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 |
WA 25 | jiyujie | 1612. Tram Forum | 14 Jun 2021 10:14 | 3 |
WA 25 jiyujie 12 Apr 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 |
if you have WA25 | WA24 (Java | C#) | Maxm | 1612. Tram Forum | 21 Apr 2018 20:22 | 1 |
String symbols = "`~!№*@#$%^&*()-_=+\\|[{]};:'\",<.>/?в„– \n\r\t"; ;) |
some tests | FrostCode | 1612. Tram Forum | 22 Jun 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... :) |
hint wa22 | Evgeniy[VVV] | 1612. Tram Forum | 29 Jan 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. Tram Forum | 19 Apr 2014 17:26 | 1 |
"-|[.|,|!|?|-|:|\t|\n|\r|\\s]" |
wa22 | Pasky | 1612. Tram Forum | 28 Feb 2014 17:40 | 4 |
wa22 Pasky 25 Apr 2008 16:32 check this test: tram.tram what output should be? bus driver? tram driver? Re: wa22 Egor Stepanov [mikroz] 5 Dec 2008 06:16 Re: wa22 [RISE] Juri Watjan [RAU] 28 Feb 2014 17:40 Test 22 is tram,tram or trolleybus,trolleybus - check this )) |
help read data in Java | Anna | 1612. Tram Forum | 24 Nov 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. Tram Forum | 21 Nov 2013 11:45 | 1 |
Who can tell test 24? May b someone also got in trouble with this test. |
To admins | alex_r | 1612. Tram Forum | 18 Jan 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 |
No subject | TESTER | 1612. Tram Forum | 12 Apr 2012 22:04 | 2 |
anyone knows test 6, I have been with this problem for 1 hour test 6 should take account ",.?!-: " |
Why am i constantly getting WA24? | ONU_1785 | 1612. Tram Forum | 7 Jan 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. Tram Forum | 28 Aug 2011 22:49 | 2 |
Edited by author 01.12.2011 22:52 now AC, a small mistake... |
To admins | LLIRIK | 1612. Tram Forum | 28 Aug 2011 22:35 | 2 |
If there is ! , : . after word 'tram' or 'trolleybus' should we count this case??? |
how read data? | tttwet | 1612. Tram Forum | 30 Jul 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 } |
И все-таки он существует! | Vladimir Half-tech.RW | 1612. Tram Forum | 8 Nov 2009 00:32 | 4 |
Я сначала подумал, что это выдумка, и предствавьте себе мое удивление, когда я и впрямь его обнаружил! Подумать только - настоящий трамвайный форум!.. (Ссылка дана в тексте задачи - forum.tr.ru) о_О там действительно форум! х_х Хм я не один такой! Я туда тоже зашёл Эх... и я тоже... ^ ^ Edited by author 08.11.2009 00:34 |
Weak tests | Fyodor Menshikov | 1612. Tram Forum | 3 Jan 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. Tram Forum | 14 Nov 2008 13:38 | 2 |
IN: tram tram OUT: Bus driver Please rejudge!! Sorry for my bad english :) |
Почему во втором примере троллейбус? | MOPDOBOPOT | 1612. Tram Forum | 6 Nov 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. |