Search found 43 matches

by george
8 years ago
Forum: Problem set
Topic: 1009 - Arranging Amplifiers
Replies: 15
Views: 6874
Gender: None specified

Re: 1009 - Arranging Amplifiers

i ve tried all those problems and got TLE with C# and Java, then i rewrite the same algorithm in C++ and Ac... Why...??? i guess that gives the C++ programmers some sort of leverage! please reconsider this matter. thank you for the time As you know c++ is by far faster than java and c# thus your pr...
by george
8 years ago
Forum: Problem set
Topic: 1294 - Jolly Jumpers
Replies: 2
Views: 1601
Gender: None specified

Re: 1294 - Jolly Jumpers

hanibal wrote:as the input ends?
for this kind of problem you should read until de end of file(EOF)
by george
8 years ago
Forum: Problem set
Topic: 1168 - Decode
Replies: 2
Views: 727
Gender: None specified

Re: 1168 - Decode

hanibal wrote:which means wrong answer test test 1 or 2?
you should check the FAQ(http://coj.uci.cu/general/faq.xhtml) section to see the meaning of each status.
hanibal wrote:test 1 or 2?

It means the test on wich your solution fail
by george
8 years ago
Forum: Problem set
Topic: 1684 - Binary to Roman
Replies: 2
Views: 1083
Gender: None specified

Re: 1684 - Binary to Roman- doubt !

hanibal wrote: I do not know why the online judge gives me a RunTime in the test.
you should check the FAQ(http://coj.uci.cu/general/faq.xhtml#faq.12) section to see what runtime error means.
by george
8 years ago
Forum: Problem set
Topic: 1009 - Arranging Amplifiers
Replies: 15
Views: 6874
Gender: None specified

Re: 1009 - Arranging Amplifiers

please check java submissions too!! There are not AC submissions in Java in COJ v2 for this problem, remember that v1 use to give java solutions a factor for time increasing, this practice was considered wrong in v2 so there are no longer special treatments to any language in the COJ. i hope this h...
by george
8 years ago
Forum: Problem set
Topic: 1009 - Arranging Amplifiers
Replies: 15
Views: 6874
Gender: None specified

Re: 1009 - Arranging Amplifiers

adrianc wrote:Please check the datasets again because im getting TLE no matter what i do and i have submitted a friend ac solution and got TLE too ...
I just check ac solutions and remains AC.
by george
8 years ago
Forum: Problem set
Topic: 1566 - Cannon Balls
Replies: 3
Views: 1913
Gender: None specified

Re: 1566 - Cannon Balls

n -> 3 = 14
n-> 4 = 30
by george
8 years ago
Forum: Problem set
Topic: 1229 - Pit Stop Strategy
Replies: 6
Views: 1206
Gender: None specified

Re: 1229 - Pit Stop Strategy

ReynaldoGil wrote:it seems our COJ has problems working with float numbers, because the only thing I changed was the float by double....
You should know that "doubles" support biggers numbers than "floats" so ... it could be cause for this
by george
8 years ago
Forum: Problem set
Topic: 1771 - Getting Home
Replies: 4
Views: 849
Gender: None specified

Re: 1771 - Getting Home

Phantom wrote: my algorithm works for all my test cases, but the COJ dislike it... :(
Can you describe your algorithm?? so someone could understand what you are doing..
by george
9 years ago
Forum: Problem set
Topic: 1136 - Prime Generator
Replies: 2
Views: 873
Gender: None specified

Re: Prime Generator

Vasha wrote:A question for each set of data I need to print a blank line or just the first n-1 data sets
Yea for each set of data you need to print a blank line.

hope this help you!

Go to advanced search