Search found 14 matches

by codeworrior
Wed Jun 23, 2010 7:12 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 51501

Re: 102, WA

//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 lon...
by codeworrior
Fri May 28, 2010 10:43 am
Forum: Volume 100 (10000-10099)
Topic: 10034 - Freckles
Replies: 101
Views: 32922

Re: 10034 - Freckles

got AC..didnt commented out freopen and tht ws causing problem.. :lol:
by codeworrior
Tue May 11, 2010 1:49 pm
Forum: Volume 100 (10000-10099)
Topic: 10034 - Freckles
Replies: 101
Views: 32922

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...
by codeworrior
Tue Jan 12, 2010 4:25 pm
Forum: Volume 6 (600-699)
Topic: 615 - Is It A Tree?
Replies: 71
Views: 23799

Re: 615 - Is It A Tree?

yes corrected it ...got AC..thanks..
by codeworrior
Mon Jan 11, 2010 8:21 am
Forum: Volume 6 (600-699)
Topic: 615 - Is It A Tree?
Replies: 71
Views: 23799

615 is it a tree??

//code removed after AC


why am i getting WA...
thanks in advance
by codeworrior
Sun Jan 10, 2010 5:18 pm
Forum: Volume 6 (600-699)
Topic: 615 - Is It A Tree?
Replies: 71
Views: 23799

Re: 615 - Is It A Tree?

//code removed after AC

why am i getting WA...
by codeworrior
Sun Jan 10, 2010 11:27 am
Forum: Volume 2 (200-299)
Topic: 231 - Testing the CATCHER
Replies: 53
Views: 14703

Re: test the catcher 231

got acc..thanks buddy..
by codeworrior
Sun Jan 10, 2010 11:24 am
Forum: Volume 2 (200-299)
Topic: 231 - Testing the CATCHER
Replies: 53
Views: 14703

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??
by codeworrior
Mon Dec 14, 2009 1:50 pm
Forum: Volume 2 (200-299)
Topic: 231 - Testing the CATCHER
Replies: 53
Views: 14703

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...
by codeworrior
Fri Nov 20, 2009 9:10 am
Forum: Volume 2 (200-299)
Topic: 231 - Testing the CATCHER
Replies: 53
Views: 14703

Re: WA 231 Testing the catcher

someone give the answer for my ques....thnx in advance..
by codeworrior
Wed Nov 11, 2009 9:43 am
Forum: Volume 2 (200-299)
Topic: 231 - Testing the CATCHER
Replies: 53
Views: 14703

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 ls[...
by codeworrior
Fri Nov 06, 2009 7:44 am
Forum: Volume 2 (200-299)
Topic: 231 - Testing the CATCHER
Replies: 53
Views: 14703

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(); long int ls[...
by codeworrior
Tue Oct 27, 2009 5:42 pm
Forum: Volume 104 (10400-10499)
Topic: 10491 - Cows and Cars
Replies: 17
Views: 8486

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...
by codeworrior
Wed Oct 21, 2009 11:09 am
Forum: Volume 104 (10400-10499)
Topic: 10491 - Cows and Cars
Replies: 17
Views: 8486

Re: 10491 - Cows and Cars

whats the problem in my code..its giving me WA ...is tht scanf line is correct????

Go to advanced search