Search found 59 matches

by Jemerson
Mon Jun 18, 2007 9:49 pm
Forum: Volume 112 (11200-11299)
Topic: 11220 - Decoding the message.
Replies: 54
Views: 20258

Presentation Error in Java

Presentation Error!!
If anyone can help me to find my mistake I'll appreciate it a lot and be very thankful.

Code: Select all

ACCed - Dumb Mistake. Thanks.
by Jemerson
Mon Jun 18, 2007 8:48 pm
Forum: Volume 112 (11200-11299)
Topic: 11219 - How old are you?
Replies: 117
Views: 33286

One more case that all tests above didn't cover and which was breaking my code follows:

Input:

Code: Select all

1

05/06/2031
06/06/1900
Output:

Code: Select all

Case #1: 130
by Jemerson
Wed Apr 04, 2007 1:58 am
Forum: Volume 111 (11100-11199)
Topic: 11103 - WFF 'N PROOF
Replies: 13
Views: 7918

I don't understand why qKpNq is not a valid WFF. Can someone explain me please? I'm misunderstanding the problem.

Thanx in advance
by Jemerson
Fri Mar 09, 2007 9:00 pm
Forum: Volume 101 (10100-10199)
Topic: 10106 - Product
Replies: 98
Views: 26946

Guys, don't know what is wrong with my code, can anyone help me? I'm a Java programmer and C++ noob. I used BigInteger library found here: http://www.comp.nus.edu.sg/~stevenha/programming/BigInteger.h My code follows: #include <iostream> #include <cstdlib> #include <cstdio> #include <cctype> #includ...
by Jemerson
Thu Dec 21, 2006 6:54 am
Forum: Volume 2 (200-299)
Topic: 290 - Palindroms <---> smordnilaP
Replies: 31
Views: 6932

OMG I don't understand why 87 + 78 in base 15 is 110! I've already lost a considerable time trying to understand this, but couldn't. I feel really embarassed about it! :oops:

Can anyone explain me, please?

Thanx in advance.
by Jemerson
Thu Dec 21, 2006 6:53 am
Forum: Volume 2 (200-299)
Topic: 290 - Palindroms <---> smordnilaP
Replies: 31
Views: 6932

OMG I don
by Jemerson
Thu Dec 21, 2006 3:02 am
Forum: Volume 4 (400-499)
Topic: 444 - Encoder and Decoder
Replies: 155
Views: 20988

Same problem as him! Also in Java. There's no mistake in my code. I guess there is something wrong with the oficial output.

hugz
by Jemerson
Wed Aug 30, 2006 2:58 am
Forum: Volume 109 (10900-10999)
Topic: 10912 - Simple Minded Hashing
Replies: 24
Views: 14771

repeating mamun question: can anyone please explain me how to apply dynamic programming in this problem, i just cant find the relation and got too many TLE already

Thanx in advance
by Jemerson
Wed Apr 19, 2006 11:46 pm
Forum: Volume 2 (200-299)
Topic: 255 - Correct Move
Replies: 17
Views: 4245

Solved my problem, in fact the problem is in determining if the king is stucked or not and the above test cases don't test it correctly. Don't know where in my algorithm things were wrong, but I solved it in such an easy way. All you must do is notice that the king can only get stucked up if its in ...
by Jemerson
Wed Apr 19, 2006 11:23 pm
Forum: Volume 2 (200-299)
Topic: 255 - Correct Move
Replies: 17
Views: 4245

I'm also facing the same problem of you guys, but couldn't understand how you solved your mistake. Could you please explain it better?
by Jemerson
Tue Apr 18, 2006 6:40 am
Forum: Volume 2 (200-299)
Topic: 273 - Jack Straws
Replies: 19
Views: 3136

CAN'T UNDERSTAND

Hi guys, in the mentioned input above, which is the official one, there are some cases that my program just can't satisfy and i'm getting wrong answer all time. I've already drawn the case and saw that the suggested output is impossible! Can anyone please try this? 1 8 2 76 99 85 62 96 29 98 8 2 64 ...
by Jemerson
Tue Apr 11, 2006 5:11 am
Forum: Volume 2 (200-299)
Topic: 253 - Cube painting
Replies: 28
Views: 12389

Hi guys, i've read your ideas but coudn't convinced myself that my code for any reason is wrong. All I do is rotate 4 times up and for each rotation UP rotate 4 time for the LEFT. Rotate means to reorganize the chars inside a char array that represents the cube. Rotate up would be something like thi...
by Jemerson
Tue Mar 21, 2006 1:39 am
Forum: Volume 1 (100-199)
Topic: 122 - Trees on the level
Replies: 103
Views: 9804

In order to test what the guys said, try the following input: (1,) (2,L) (3,LL) (4,LLL) (5,LLLL) (6,LLLLL) (7,LLLLLL) (8,LLLLLLL) (9,LLLLLLLL) (10,LLLLLLLLL) (11,LLLLLLLLLL) (12,LLLLLLLLLLL) (13,LLLLLLLLLLLL) (14,LLLLLLLLLLLLL) (15,LLLLLLLLLLLLLL) (16,LLLLLLLLLLLLLLL) (17,LLLLLLLLLLLLLLLL) (18,LLLLL...
by Jemerson
Sat Dec 31, 2005 8:10 am
Forum: Volume 4 (400-499)
Topic: 418 - Molecules
Replies: 7
Views: 1818

Hi all, i got a question, if any can tell me i'll be thankfull. As my english is not so good I guess I didn't understand the problem description very well. Is is true that both vertical chains must be is the same horizontal level? Here is an example: O S B J JAAISLJDALLA D L FCAOAIAAALL O L M P N A ...
by Jemerson
Tue Dec 27, 2005 6:27 am
Forum: Volume 109 (10900-10999)
Topic: 10925 - Krakovia
Replies: 50
Views: 21354

Hum.. i had accepted all sugestted inputs but I was still getting WA, so i found two inputs that showed me some extra cases. After correct this I got Accepted. Here they are: Input: 1 16 17432479801732498109834891047810 1 15 17432479801732498109834891047810 Output: Bill #1 costs 17432479801732498109...

Go to advanced search