Search found 4 matches

by mmh.riyad
Fri Sep 11, 2015 6:57 am
Forum: Volume 7 (700-799)
Topic: 758 - The Same Game
Replies: 7
Views: 3803

Re: 758 - The Same Game

Got AC :D :D :D :D :D :D :D :D :D :lol: :lol: :lol: :lol: :lol: :lol: :lol: Try this: Input: 6 RRRRRRRRRRRGRRR RGRRRRRRRRRRRRR RRRRRRRRRRRRRRR RGRRRRRRRRRGRRR RRRRRRRRRRRRRRR RRGRRRRRRRRRRRR RRRRRRRRRRRRRRR RRRRRRRRRRRGRRR RRRRRRRRRRRRRRR RRRRRRRRRRRRRRR RRRRRRRRRRRRRRG RRRRRRRRRRRRRRG RRRRRRRRRRRRR...
by mmh.riyad
Thu Sep 10, 2015 1:56 pm
Forum: Volume 7 (700-799)
Topic: 758 - The Same Game
Replies: 7
Views: 3803

Re: 758 - The Same Game

zsacul wrote:There is a strange multiple input in this problem, try to add

[cpp]scanf("%d\n",&nf);[/cpp]
at the begining and
use loop
[cpp]while (scanf("%d\n",&nGames)!=EOF)[/cpp]
after that...
Cant understand these! :S
What will the input and output for this case?
by mmh.riyad
Thu Sep 10, 2015 1:54 pm
Forum: Volume 7 (700-799)
Topic: 758 - The Same Game
Replies: 7
Views: 3803

Re: 758 - The Same Game

My program gives all correct output of this post. But still getting WA.
Cant understand where is the problem?
Can anybody provide some critical input-output? Thanks is advance.
by mmh.riyad
Thu May 21, 2015 4:55 am
Forum: Volume 16 (1600-1699)
Topic: 1612 - Guess
Replies: 3
Views: 3201

Re: 1612 - Guess

My program runs correctly for the provided inputs of brainfry.
But cant figureout why getting wrong answer!!! :( :roll:
Any hidden trics or case to handle?

Please provide some more tricy inputs, if possible.

Go to advanced search