Search found 28 matches

by moudud99
Tue Mar 24, 2015 7:42 pm
Forum: Volume 122 (12200-12299)
Topic: 12243 - Flowers Flourish from France
Replies: 4
Views: 1491

Re: 12243 - Flowers Flourish from France

My code passed all case I tasted with but getting WA.Please someone help.Thanks in advance. #include<bits/stdc++.h> #define FRU freopen("out.txt","w",stdout) #define FRO freopen("in.txt","r",stdin) #define pb push_back #define mp make_pair #define ff first #define ss second #define all(ara,n) memset...
by moudud99
Fri Mar 06, 2015 11:15 am
Forum: Volume 103 (10300-10399)
Topic: 10374 - Election
Replies: 44
Views: 15032

Re: 10374 - Election

Can anyone help me finding my bug? I am getting RE. Thanks in advance. #include<bits/stdc++.h> #define FRU freopen("out.txt","w",stdout) #define FRO freopen("in.txt","r",stdin) #define pb push_back #define mp make_pair #define ff first #define ss second #define all(ara,n) memset(ara,n,sizeof ara) #d...
by moudud99
Mon Mar 02, 2015 8:09 pm
Forum: Volume 9 (900-999)
Topic: 914 - Jumping Champion
Replies: 37
Views: 17468

Re: 914 - Jumping Champion

I am getting WA.tried inputs from this thread. please help me.Thanks in advance. #include<bits/stdc++.h> #define FRU freopen("out.txt","w",stdout) #define FRO freopen("in.txt","r",stdin) #define pb push_back #define mp make_pair #define ff first #define ss second #define all(ara,n) memset(ara,n,size...
by moudud99
Fri Feb 20, 2015 7:15 am
Forum: Volume 125 (12500-12599)
Topic: 12543 - Longest Word
Replies: 22
Views: 3436

Re: 12543 - Longest Word

should I give a newline or not?

my code gives a single 'a' and a newline.
and when I remove that newline my code gets WA.
by moudud99
Sun Feb 15, 2015 8:59 am
Forum: Volume 125 (12500-12599)
Topic: 12543 - Longest Word
Replies: 22
Views: 3436

Re: 12543 - Longest Word

I am getting PE.do i need to remove new line from end of output? shouldn't all letters be small in output?
Thanks in advance.

Code: Select all

do not print any space and always print a new line at the END!
by moudud99
Sun Dec 21, 2014 1:40 pm
Forum: Volume 110 (11000-11099)
Topic: 11060 - Beverages
Replies: 96
Views: 32592

Re: 11060 - Beverages

can anyone help me to find my problem?I used a toposort. thanks in advance. #include<iostream> #include<cmath> #include<string> #include<algorithm> #include<cstdio> #include<cstring> #include<vector> #include<stack> #include<queue> #include<map> #define FRU freopen("out.txt","w",stdout) #define FRO ...
by moudud99
Thu Nov 27, 2014 2:18 pm
Forum: Volume 111 (11100-11199)
Topic: 11185 - Ternary
Replies: 34
Views: 13882

Re: 11185 - Ternary

please help me now.I modified my code.

Code: Select all

Mind it on "always print newline after testcase"
by moudud99
Sun Oct 05, 2014 9:22 am
Forum: Volume 127 (12700-12799)
Topic: 12751 - An Interesting Game
Replies: 4
Views: 1047

Re: 12751 - An Interesting Game

so the statement said k numbers starting from x.
sorry I understood wrong...
anyway I got AC as you told.. :wink: :wink: :wink:
by moudud99
Sat Oct 04, 2014 12:53 pm
Forum: Volume 103 (10300-10399)
Topic: 10336 - Rank the Languages
Replies: 21
Views: 9464

Re: 10336 - Rank the Languages

thanks a lot brainfry...I should have better ability to hack own code... :roll: :roll:
by moudud99
Fri Oct 03, 2014 7:58 pm
Forum: Volume 103 (10300-10399)
Topic: 10336 - Rank the Languages
Replies: 21
Views: 9464

Re: 10336 - Rank the Languages

here is my code I'm tired of getting WA on silly mistake..

Code: Select all

AC
by moudud99
Fri Oct 03, 2014 7:55 pm
Forum: Volume 103 (10300-10399)
Topic: 10336 - Rank the Languages
Replies: 21
Views: 9464

Re: 10336 - Rank the Languages

strange and funny problem....Please someone give some Inputs..
by moudud99
Fri Oct 03, 2014 8:07 am
Forum: Volume 6 (600-699)
Topic: 627 - The Net
Replies: 18
Views: 6672

Re: 627 - The Net

Thanks Brainfry I found my mistake...
Funny problem with a bad input system :wink: :wink:
by moudud99
Fri Oct 03, 2014 6:41 am
Forum: Volume 127 (12700-12799)
Topic: 12751 - An Interesting Game
Replies: 4
Views: 1047

Re: 12751 - An Interesting Game

so what actually that line means?
At first move, Jodu will select K consecutive marbles (X, X + 1, X + 2, . . . , X + K ? 1)
starting from X and will remove them
and what about the 1st output?
by moudud99
Thu Oct 02, 2014 6:47 pm
Forum: Volume 126 (12600-12699)
Topic: 12650 - Dangerous Dive
Replies: 3
Views: 1320

Re: 12650 - Dangerous Dive

Thanks a lot you lighted!
by moudud99
Thu Oct 02, 2014 6:32 pm
Forum: Volume 6 (600-699)
Topic: 627 - The Net
Replies: 18
Views: 6672

Re: 627 - The Net

Can someone help me with some I/O?
so that I can find my mistake.

Code: Select all

Be careful about INPUT!!!

Go to advanced search