Search found 28 matches
- Tue Mar 24, 2015 7:42 pm
- Forum: Volume 122 (12200-12299)
- Topic: 12243 - Flowers Flourish from France
- Replies: 4
- Views: 1808
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 #de...
- Fri Mar 06, 2015 11:15 am
- Forum: Volume 103 (10300-10399)
- Topic: 10374 - Election
- Replies: 44
- Views: 16110
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 #defin...
- Mon Mar 02, 2015 8:09 pm
- Forum: Volume 9 (900-999)
- Topic: 914 - Jumping Champion
- Replies: 37
- Views: 18713
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 sec...
- Fri Feb 20, 2015 7:15 am
- Forum: Volume 125 (12500-12599)
- Topic: 12543 - Longest Word
- Replies: 22
- Views: 3964
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.
my code gives a single 'a' and a newline.
and when I remove that newline my code gets WA.
- Sun Feb 15, 2015 8:59 am
- Forum: Volume 125 (12500-12599)
- Topic: 12543 - Longest Word
- Replies: 22
- Views: 3964
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.
Thanks in advance.
Code: Select all
do not print any space and always print a new line at the END!
- Sun Dec 21, 2014 1:40 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11060 - Beverages
- Replies: 96
- Views: 35578
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",...
- Thu Nov 27, 2014 2:18 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11185 - Ternary
- Replies: 34
- Views: 14847
Re: 11185 - Ternary
please help me now.I modified my code.
Code: Select all
Mind it on "always print newline after testcase"
- Sun Oct 05, 2014 9:22 am
- Forum: Volume 127 (12700-12799)
- Topic: 12751 - An Interesting Game
- Replies: 4
- Views: 1243
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..

sorry I understood wrong...
anyway I got AC as you told..



- Sat Oct 04, 2014 12:53 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10336 - Rank the Languages
- Replies: 21
- Views: 10228
Re: 10336 - Rank the Languages
thanks a lot brainfry...I should have better ability to hack own code...



- Fri Oct 03, 2014 7:58 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10336 - Rank the Languages
- Replies: 21
- Views: 10228
Re: 10336 - Rank the Languages
here is my code I'm tired of getting WA on silly mistake..
Code: Select all
AC
- Fri Oct 03, 2014 7:55 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10336 - Rank the Languages
- Replies: 21
- Views: 10228
Re: 10336 - Rank the Languages
strange and funny problem....Please someone give some Inputs..
- Fri Oct 03, 2014 8:07 am
- Forum: Volume 6 (600-699)
- Topic: 627 - The Net
- Replies: 18
- Views: 7253
Re: 627 - The Net
Thanks Brainfry I found my mistake...
Funny problem with a bad input system

Funny problem with a bad input system


- Fri Oct 03, 2014 6:41 am
- Forum: Volume 127 (12700-12799)
- Topic: 12751 - An Interesting Game
- Replies: 4
- Views: 1243
Re: 12751 - An Interesting Game
so what actually that line means?
and what about the 1st output?At first move, Jodu will select K consecutive marbles (X, X + 1, X + 2, . . . , X + K ? 1)
starting from X and will remove them
- Thu Oct 02, 2014 6:47 pm
- Forum: Volume 126 (12600-12699)
- Topic: 12650 - Dangerous Dive
- Replies: 3
- Views: 1487
Re: 12650 - Dangerous Dive
Thanks a lot you lighted!
- Thu Oct 02, 2014 6:32 pm
- Forum: Volume 6 (600-699)
- Topic: 627 - The Net
- Replies: 18
- Views: 7253
Re: 627 - The Net
Can someone help me with some I/O?
so that I can find my mistake.
so that I can find my mistake.
Code: Select all
Be careful about INPUT!!!