Search found 10 matches

by Ivan Goroun
Sun Feb 06, 2011 8:42 am
Forum: Volume 8 (800-899)
Topic: 850 - Crypt Kicker II
Replies: 77
Views: 37376

Re: 850 - Crypt Kicker II

Yeah, it's the spaces. Also, a line with as many spaces as letters should also be no solution.

Code: Select all

the_quick_brown_fox_jumps_over_the_lazy_dog

xxx xxxxx xxxxx xxx xxxxx xxxx xxx xxxx xxx
Output no solution.
by Ivan Goroun
Sat Feb 05, 2011 11:32 pm
Forum: Volume 102 (10200-10299)
Topic: 10252 - Common Permutation
Replies: 150
Views: 53072

Re: 10252 - Common Permutation

Don't use cin, use cin.getline. A line of text is an input, so it could be more than 1 word.
by Ivan Goroun
Tue Jan 12, 2010 3:53 am
Forum: Volume 102 (10200-10299)
Topic: 10258 - Contest Scoreboard
Replies: 87
Views: 35151

Re: 10258 - Contest Scoreboard

Having solved this, I'd like to contribute the aggregated input and output from this thread, with a bit of my own additions (boundary cases). Input: 4 1 2 10 I 3 1 11 C 1 2 19 R 1 2 21 C 1 1 25 C 1 1 5 C 1 2 10 C 1 3 15 C 100 1 0 I 100 1 5 C 100 3 50 C 38 1 0 C 48 1 1 R 83 1 2 E 89 9 3 R 7 5 4 R 68 ...
by Ivan Goroun
Sun Jan 10, 2010 11:28 am
Forum: Volume 100 (10000-10099)
Topic: 10044 - Erdos Numbers
Replies: 102
Views: 40421

Re: 10044 - Erdos Numbers

Well, this is one messed up problem. Here's the input/output pair which finally got my code accepted. Part of it was earlier in this thread, but it was not sufficient. Input: 2 4 3 Smith, M.N., Martin, G., Erdos, P.: Newtonian forms of prime factor matrices Erdos, P., Reisig, W.: Stuttering in petri...
by Ivan Goroun
Fri Dec 25, 2009 11:22 am
Forum: Volume 4 (400-499)
Topic: 458 - The Decoder
Replies: 71
Views: 15927

Re: Simple Java output Question for 458

mf wrote:The input to this problem is not ASCII, it may contain bytes with codes greater than 127.
It doesn't according to the description, and it doesn't actually. My program just printf's (char - secret value) and it's accepted.
by Ivan Goroun
Thu Dec 24, 2009 10:47 pm
Forum: Volume 103 (10300-10399)
Topic: 10315 - Poker Hands
Replies: 63
Views: 28118

Re: 10315 - Poker Hands

diego_engcomp wrote:Ivan, I tested my program with your input and get the same output. I posted my code here before you. I've already tested my program with all inputs on this topic and they match. If someone can help me I appreciate.
I updated my previous post with a couple of extra cases - try it again!
by Ivan Goroun
Thu Dec 24, 2009 11:31 am
Forum: Volume 103 (10300-10399)
Topic: 10315 - Poker Hands
Replies: 63
Views: 28118

Re: 10315 - Poker Hands

Ok, finally got accepted. I had one bug people could also be struggling with for which there was no test case. No worries - I added it ;) It was the case where in the Two Pairs ranking I was giving too much weight to the last card. So, a very high single card was beating out the pair where the secon...
by Ivan Goroun
Thu Dec 24, 2009 3:54 am
Forum: Volume 103 (10300-10399)
Topic: 10315 - Poker Hands
Replies: 63
Views: 28118

Re:

i am trying solvind this problem with C++.. i try hard and not take any accepted submissions... i make a program to gen some combinations of hands.. 2S 5S 5S KS TD 3C 5D KH KH QD who win this input? black = 2S 5S 5S KS TD pair of 5 white = 3C 5D KH KH QD pair of K ? white have the biger pair (K), b...
by Ivan Goroun
Sun Dec 20, 2009 12:14 am
Forum: Volume 100 (10000-10099)
Topic: 10033 - Interpreter
Replies: 88
Views: 25974

Re: 10033 - Interpreter

I've compiled the various inputs from this thread into one. 5 299 492 495 399 492 495 399 283 279 689 078 100 000 000 000 221 422 425 000 311 712 712 913 031 299 233 255 990 803 301 050 100 212 415 521 721 532 439 543 631 339 923 029 873 674 027 023 299 492 495 399 492 495 399 589 279 689 279 078 10...
by Ivan Goroun
Sun Dec 20, 2009 12:03 am
Forum: Volume 100 (10000-10099)
Topic: 10033 - Interpreter
Replies: 88
Views: 25974

Re: 10033 - Interpreter

There is an extra end-of-line at the end of the output, that's all!!! :D ....the empty lines are between cases Remove your code after AC You are right, but this is BS. Problem description doesn't state how many new lines should be at the end of the last input. So, they should accept all the reasona...

Go to advanced search