//THIS CODE HAS BEEN WRITTEN BY CODEWORRIOR(SHIVMITRA MISHRA)
#include<stdio.h>
#include<math.h>
#include<stdlib.h>
#include<cstring>
#include<iostream>
#include<map>
#include<vector>
#include<set>
#include<algorithm>
#include<string>
#include<queue>
#include<stack>
using namespace std;
typedef ...
Search found 14 matches
- Wed Jun 23, 2010 7:12 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 116565
- Fri May 28, 2010 10:43 am
- Forum: Volume 100 (10000-10099)
- Topic: 10034 - Freckles
- Replies: 101
- Views: 48967
Re: 10034 - Freckles
got AC..didnt commented out freopen and tht ws causing problem.. 

- Tue May 11, 2010 1:49 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10034 - Freckles
- Replies: 101
- Views: 48967
Re: 10034 - Freckles
//code removed after AC
my code is giving me WA in .008 sec...i cant find any case in which my code is failing ...can anyone give a case in which it fails.....thnx in advance...
my code is giving me WA in .008 sec...i cant find any case in which my code is failing ...can anyone give a case in which it fails.....thnx in advance...
- Tue Jan 12, 2010 4:25 pm
- Forum: Volume 6 (600-699)
- Topic: 615 - Is It A Tree?
- Replies: 71
- Views: 36100
Re: 615 - Is It A Tree?
yes corrected it ...got AC..thanks..
- Mon Jan 11, 2010 8:21 am
- Forum: Volume 6 (600-699)
- Topic: 615 - Is It A Tree?
- Replies: 71
- Views: 36100
615 is it a tree??
//code removed after AC
why am i getting WA...
thanks in advance
why am i getting WA...
thanks in advance
- Sun Jan 10, 2010 5:18 pm
- Forum: Volume 6 (600-699)
- Topic: 615 - Is It A Tree?
- Replies: 71
- Views: 36100
Re: 615 - Is It A Tree?
//code removed after AC
why am i getting WA...
why am i getting WA...
- Sun Jan 10, 2010 11:27 am
- Forum: Volume 2 (200-299)
- Topic: 231 - Testing the CATCHER
- Replies: 53
- Views: 24567
Re: test the catcher 231
got acc..thanks buddy..
- Sun Jan 10, 2010 11:24 am
- Forum: Volume 2 (200-299)
- Topic: 231 - Testing the CATCHER
- Replies: 53
- Views: 24567
Re: test the catcher 231
//code removed after ac.
got presentation error for this...does it mean that my ans is correct jst the formatting is wrong????
and where is the error??
got presentation error for this...does it mean that my ans is correct jst the formatting is wrong????
and where is the error??
- Mon Dec 14, 2009 1:50 pm
- Forum: Volume 2 (200-299)
- Topic: 231 - Testing the CATCHER
- Replies: 53
- Views: 24567
test the catcher 231
//code removed after ac.
this is my code & its working fine for all the test cases i can think for....bt getting WA...any help...
this is my code & its working fine for all the test cases i can think for....bt getting WA...any help...
- Fri Nov 20, 2009 9:10 am
- Forum: Volume 2 (200-299)
- Topic: 231 - Testing the CATCHER
- Replies: 53
- Views: 24567
Re: WA 231 Testing the catcher
someone give the answer for my ques....thnx in advance..
- Wed Nov 11, 2009 9:43 am
- Forum: Volume 2 (200-299)
- Topic: 231 - Testing the CATCHER
- Replies: 53
- Views: 24567
Re: 231 Testing The CATCHER
i am getting WA for my code...can anyone tell what is the mistake in it...
#include<stdio.h>
#include<vector>
using namespace std;
int main()
{
long int n=0,x,cases=0;
vector<long int> a;
a.reserve(1000);
here:
scanf("%ld",&x);
while(x!=-1){
a.push_back(x);
scanf("%ld",&x);}
n=a.size();
long int ...
#include<stdio.h>
#include<vector>
using namespace std;
int main()
{
long int n=0,x,cases=0;
vector<long int> a;
a.reserve(1000);
here:
scanf("%ld",&x);
while(x!=-1){
a.push_back(x);
scanf("%ld",&x);}
n=a.size();
long int ...
- Fri Nov 06, 2009 7:44 am
- Forum: Volume 2 (200-299)
- Topic: 231 - Testing the CATCHER
- Replies: 53
- Views: 24567
Re: WA 231 Testing the catcher
i am getting WA for my code...can anyone tell what is the mistake in it...
#include<stdio.h>
#include<vector>
using namespace std;
int main()
{
long int n=0,x,cases=0;
vector<long int> a;
a.reserve(1000);
here:
scanf("%ld",&x);
while(x!=-1){
a.push_back(x);
scanf("%ld",&x);}
n=a.size ...
#include<stdio.h>
#include<vector>
using namespace std;
int main()
{
long int n=0,x,cases=0;
vector<long int> a;
a.reserve(1000);
here:
scanf("%ld",&x);
while(x!=-1){
a.push_back(x);
scanf("%ld",&x);}
n=a.size ...
- Tue Oct 27, 2009 5:42 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10491 - Cows and Cars
- Replies: 17
- Views: 12108
Re: 10491 - Cows and Cars
thnx buddy...done now..bt wats d problem with float ..i think i was within range and precision was also ok...
- Wed Oct 21, 2009 11:09 am
- Forum: Volume 104 (10400-10499)
- Topic: 10491 - Cows and Cars
- Replies: 17
- Views: 12108
Re: 10491 - Cows and Cars
whats the problem in my code..its giving me WA ...is tht scanf line is correct????