Search found 70 matches

by Tanu
Sun Jul 16, 2006 7:09 am
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 124608

haha

I wanna win this never ending game....
Tanu
by Tanu
Wed Apr 26, 2006 12:14 pm
Forum: Volume 5 (500-599)
Topic: 529 - Addition Chains
Replies: 32
Views: 4167

529 going runtime error,plz why

I'm getting RE in this following code... sample input-output is expected... My code here #include<stdio.h> long x[105]; long result[105][50]; void bcktrking(long s,long k,long N) { x[k] = s; long stack[50]; long top = 0,t,p; long i,j,temp; if(k>=result[N][0]) return; for(i = 0;i<=k;i++) for(j = 0;j<...
by Tanu
Wed Apr 26, 2006 7:19 am
Forum: Volume 3 (300-399)
Topic: 341 - Non-Stop Travel
Replies: 38
Views: 13534

341 is it okey

i'm trying to solve 341... here is my code #include<stdio.h> long G[12][12]; long x[15],ans[15]; long mincost,step; void bfs(long s,long k,long N,long d) { int i,sum = 0; x[k] = s; for(i = 1;i<=k;i++) sum += G[x[i-1]][x[i]]; if(sum>mincost) return; if(s == d) { for(i = 0; i<=k ;i++) ans[i] = x[i]; m...
by Tanu
Tue Jan 17, 2006 11:46 am
Forum: Off topic (General chit-chat)
Topic: CSE course
Replies: 10
Views: 3679

I have Started in 1st sem ...
But paused in the middle ...
Now continuing.....
by Tanu
Mon Dec 26, 2005 6:39 am
Forum: Off topic (General chit-chat)
Topic: A spam or something?
Replies: 13
Views: 4904

Dear,
Everything in the earth has a frustation...
Don't get it...
And don't be lose heared...
My submission is abt 4 times of acc (average)...
Today I submitted 12 but only 2 are acc(really hearted me)...
But nothing to look back...
Dont want to choose any sortcut ....
Good luck...
Try hard...
by Tanu
Tue Dec 20, 2005 7:03 am
Forum: Off topic (General chit-chat)
Topic: A spam or something?
Replies: 13
Views: 4904

Yah

I also getting this kind of mail...
I don't know why source code is asked...
If it is about any new site, it should be invertigate...
Bcos UVA acc ans are not axpected available...
Tanvir>.
by Tanu
Thu Dec 15, 2005 6:49 am
Forum: Off topic (General chit-chat)
Topic: A spam or something?
Replies: 13
Views: 4904

Who can I help

I can help for 531 ...
If u need help on specific problem than its better to find it in volume section ...
Or u can use Find option of board...
Take care...
tanvir>.
by Tanu
Mon Dec 12, 2005 6:48 am
Forum: Volume 109 (10900-10999)
Topic: 10940 - Throwing cards away II
Replies: 28
Views: 14474

hi

Oh the Martin Macko siquence is OK...
I also got it...
Thanks many to Martin Macko and mf for response...
Tanvir
by Tanu
Wed Nov 30, 2005 3:50 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 82752

I tried to check Ur code but it is not giving answer even for the sample input output... check it again...
Try...
by Tanu
Wed Nov 30, 2005 3:09 pm
Forum: Volume 107 (10700-10799)
Topic: 10738 - Riemann vs Mertens
Replies: 16
Views: 4558

Everything in the world is funny...
Isn't it???...
....
Tanvir
by Tanu
Wed Nov 30, 2005 2:18 pm
Forum: Volume 107 (10700-10799)
Topic: 10738 - Riemann vs Mertens
Replies: 16
Views: 4558

visit
http://acm.uva.es/board/viewtopic.php?t ... 91b883862c

can U say the other problems with this trouble...
by Tanu
Tue Nov 29, 2005 2:24 pm
Forum: Volume 100 (10000-10099)
Topic: 10004 - Bicoloring
Replies: 93
Views: 30265

Welcome

Welcome to all new commers .... :P
BFS or DFS or simple recurrence anyone can do it just use the color=step%2;
Is :the preveous color is ok then return and carry on..
Else :not bicolorable
Good Luck...
by Tanu
Mon Nov 28, 2005 2:29 pm
Forum: Volume 107 (10700-10799)
Topic: 10700 - Camel trading
Replies: 32
Views: 14434

Thanks

Yah i got it accepted...
Thanx
by Tanu
Sun Nov 27, 2005 2:40 pm
Forum: Volume 107 (10700-10799)
Topic: 10738 - Riemann vs Mertens
Replies: 16
Views: 4558

Bad Judge,Mad Judge-It should be rejudge(10738)

Hi guys I found a interesting thing from.... http://acm.uva.es/p/v107/10738.html Here is two Accepted code but outputs different.... If anyone (also its a question to the judge) can say why it happens... First one #include<stdio.h> #include<math.h> #define MAX 1000001 struct st { long fact; long mu;...
by Tanu
Sun Nov 27, 2005 2:13 pm
Forum: Volume 109 (10900-10999)
Topic: 10940 - Throwing cards away II
Replies: 28
Views: 14474

Just solve

Hi solvers I've just solve this problem.... I found a sequence... from starting at n=2 2,2,4,2,4,8,10,12,14,16,2,4,8,10,12,14,16,18,20,22,24,26,28,30,32,2,4,........... And only exception if n=1.. answer=1... It seems very interesting to me.... Why it works(accepted).... would anyone make answer thi...

Go to advanced search