Search found 18 matches

by rube
Thu Aug 03, 2006 5:43 pm
Forum: Volume 108 (10800-10899)
Topic: 10819 - Trouble of 13-Dots
Replies: 67
Views: 61085

10819 - Trouble of 13-Dots!!!

I cann't figure out how to solve it. I m getting WA all the time! Plz help me.
here is my code:

#include <stdio.h>
#include <algorithm>
using namespace std;
struct MoneyPoint{
int m,p;
};
int const max_v = 10001;
MoneyPoint mp[max_v];
int grid[101][max_v];
int max_f(int a,int b){
return a>b?a:b ...
by rube
Wed Jul 05, 2006 7:51 pm
Forum: Algorithms
Topic: download Free ebooks?
Replies: 3
Views: 2227

A1 wrote: (very secret don't tell any one :wink: )
--- Ok :P

but thanks for your greate links. also thanks to stubbscroll :)

NB: I think some one else will also like to add some more links here :) :P
by rube
Tue Jul 04, 2006 11:00 am
Forum: Algorithms
Topic: download Free ebooks?
Replies: 3
Views: 2227

download Free ebooks?

Can any body give me some links from where i can download some computer science related free ebooks :P
for example algorithm, dataStructure etc.
I never find a good links by google search :cry:

Thanks in advance :-?
by rube
Mon Feb 06, 2006 12:57 pm
Forum: Volume 109 (10900-10999)
Topic: 10930 - A-Sequence
Replies: 102
Views: 62397

OOPS!! Thanks for your help. :)
by rube
Thu Feb 02, 2006 6:06 am
Forum: Volume 109 (10900-10999)
Topic: 10930 - A-Sequence
Replies: 102
Views: 62397

nump should be initialize.
I fix it but it does not help me to get AC.
Can you give me some more input output?
I test all the input in this board and my solution give correct answer for those inputs.
by rube
Wed Jan 18, 2006 10:00 am
Forum: Volume 109 (10900-10999)
Topic: 10930 - A-Sequence
Replies: 102
Views: 62397

10930 - A-Sequence

I am getting wa :
plz help me, here is my code:
#include <stdio.h>
const int imax=1005;
int main()
{
int num,nump,sum[imax],i,j,n,qsum,f,cas=1;

while(scanf("%d",&n)==1)
{
sum[0]=qsum=f=0;
for(i=1;i<imax;i++)sum[i]=-1;
printf("Case #%d:",cas++);
for(i=0;i<n;i++)
{
scanf("%d",&num ...
by rube
Tue Aug 23, 2005 11:53 am
Forum: Volume 108 (10800-10899)
Topic: 10880 - Colin and Ryan
Replies: 45
Views: 34889

Thanks.
I found the bug :oops:
And get AC. :)
by rube
Mon Aug 22, 2005 3:52 pm
Forum: Volume 108 (10800-10899)
Topic: 10880 - Colin and Ryan
Replies: 45
Views: 34889

I don't understand Why I am getting WA.
Please help me, Here is my code:

#include <stdio.h>
#include <math.h>
#include <algorithm>
using namespace std;

#define max_f 2000000
int fac[max_f+1],k;
void factor(int n){
int i,sr;
k=0;
sr=sqrt(n);
for(i=1;i<=sr;i++){
if(n%i==0){
fac[k++]=i;
if(i ...
by rube
Sat Feb 26, 2005 10:10 am
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 155458

Ali Arman Tamal wrote:Haha ! :P
I'm used to (play)
verrrrry harrrrd
games 8)
But I don't ! So i desided to give up!!!
good by friends!!! :(
by rube
Wed Feb 16, 2005 9:32 am
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 155458

Very Bad!!
Call a Hartal for this reason! ;) :-? :(
by rube
Fri Feb 04, 2005 6:10 am
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 155458

There is no post in this thread which left unanswer more then one month so new rule will not change any thing. if you ask for one week then i can think about Yes or No !!
by rube
Sun Jan 16, 2005 9:32 am
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 155458

Hi count me ;)

for codemaker:
you just try killed a interesting game . I think this kind of word like [stupid] should not be used here as i guess we all here are good person.
and i will like to say thanks A1 as he [or she] does not be angry. There is some example in this board where i see people ...
by rube
Wed Jan 12, 2005 1:25 pm
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 155458

codemaker you r right.
this intresting game will find a winner if all stop posting here.
So Lets stop posting here :o

Note:No need to reply :wink:
by rube
Thu Dec 30, 2004 2:11 pm
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 155458

hmm!! sounds like a gamer :)
by rube
Sun Dec 26, 2004 1:41 pm
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 155458

winning procsess of your game is very easy!!
people may not like to win this game. :)

Go to advanced search