Search found 14 matches

by ExUCI
Wed Jan 07, 2009 4:09 am
Forum: Volume 100 (10000-10099)
Topic: 10033 - Interpreter
Replies: 88
Views: 24523

Re: 10033 - Interpreter

Exactly, now just remove your code so no one steals it :D :D
by ExUCI
Wed Jan 07, 2009 3:04 am
Forum: Volume 5 (500-599)
Topic: 532 - Dungeon Master
Replies: 39
Views: 9884

Re: 532

Hi, I hope is not too late

Look at this line: if(map[O-1][M][N]!='#'&&O-1>=0&&!vis[O-1][M][N]) doIt(O-1,M,N,dep);
The thing is that you are evaluating map[O-1][M][N] before knowing whether O-1>=0 or not, that's why you get runtime error, just switch the conditions :D

Remove your code after AC
by ExUCI
Wed Jan 07, 2009 2:39 am
Forum: Volume 100 (10000-10099)
Topic: 10033 - Interpreter
Replies: 88
Views: 24523

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
by ExUCI
Mon Jan 05, 2009 7:55 am
Forum: Volume 103 (10300-10399)
Topic: 10334 - Ray Through Glasses
Replies: 19
Views: 8482

Re: 10334 - Ray Through Glasses

The output for the input 1000 has 210 digits and yours only has 199, it's just missing some zeroes :D
by ExUCI
Sun Jan 04, 2009 1:08 pm
Forum: Volume 8 (800-899)
Topic: 846 - Steps
Replies: 30
Views: 15720

Re: 846 - Steps

Just try 5 5

And remove your code after AC :D
by ExUCI
Wed Dec 31, 2008 5:01 am
Forum: Volume 102 (10200-10299)
Topic: 10252 - Common Permutation
Replies: 150
Views: 50604

Re: 10252 - Common Permutation

Hi, I just got AC without caring about such cases with uppercases like aaAAAaaa or whatever and there is no such thing. And yes, LCD can be used, I used it but I gonna change it for the simpler alg now!!

I read too many posters for nothing :evil:
by ExUCI
Mon Dec 29, 2008 12:34 pm
Forum: Volume 7 (700-799)
Topic: 713 - Adding Reversed Numbers
Replies: 142
Views: 39719

Re: 713 - Adding Reversed Numbers

Your code has problems with zeroes

try 0 0
by ExUCI
Sun Dec 28, 2008 4:28 pm
Forum: Volume 3 (300-399)
Topic: 350 - Pseudo-Random Numbers
Replies: 56
Views: 16092

Re: 350

The only thing wrong is that you have to generate first a random number and then start your calculations

Remove you code after AC :D
by ExUCI
Sun Dec 28, 2008 2:08 am
Forum: Volume 100 (10000-10099)
Topic: 10041 - Vito's Family
Replies: 90
Views: 29326

Re: 10041 - Vito's Family

It might be late, but clearly one thing wrong in your code it's the range...the problem says 0 < r < 500
by ExUCI
Thu Apr 12, 2007 8:59 am
Forum: Volume 7 (700-799)
Topic: 728 - Scatter Point Plot
Replies: 10
Views: 4732

I just got AC few minutes ago, and the problem in your code is that you don't center the numbers well, the operations you make to determine the amount of spaces before a number are wrong.

Remember remove your code after AC
by ExUCI
Thu Apr 12, 2007 12:39 am
Forum: Volume 7 (700-799)
Topic: 750 - 8 Queens Chess Problem
Replies: 78
Views: 26078

Dude your algorithm is fine, but you made a lot mistakes printing the output, here is the list:

- An extra space at the end of every line except the second one.
- Change \t for spaces
- The empty line is between datasets, not at the end of every dataset

That's all, remove your code after AC
by ExUCI
Tue Apr 10, 2007 9:12 am
Forum: Volume 111 (11100-11199)
Topic: 11113 - Continuous Fractions
Replies: 16
Views: 11743

Can someone post some input/outputs??
Also the limits, I'm getting Runtime Error [Signal 8] :evil: , and I can't imagine what kind of input can break my code like that

Thanx in advance
by ExUCI
Tue Apr 10, 2007 2:14 am
Forum: Volume 111 (11100-11199)
Topic: 11151 - Longest Palindrome
Replies: 65
Views: 32560

The only thing wrong in your code is the limit. Change 255 by 1000.
Next time put a readable code.

Now remove it from the forum!!!

:lol:
by ExUCI
Mon Feb 12, 2007 9:10 pm
Forum: Volume 100 (10000-10099)
Topic: 10032 - Tug of War
Replies: 91
Views: 31765

Can someone tell what's the problem with this problem. I do the DP recursively with a little pruning. So I don't have TLE, but it's getting WA and my program passed all the inputs on this threads. I really need some critical inputs. Please a little help, this problem it's driving me crazy. :evil: Th...

Go to advanced search