Search found 23 matches

by naffi
Fri Nov 07, 2008 4:29 am
Forum: Volume 5 (500-599)
Topic: 562 - Dividing coins
Replies: 73
Views: 30057

Re: 562 - Dividing Coins

Hi everyone, I think the way Mr. LIMON and Mr. porker are thinking is not right. It is polluting this environment. There are a lots of helping sites from where we can get help for algorithm and IO. 1.http://uvatoolkit.com/problemssolve.php 2.http://felix-halim.net/uva/hunting.php 3.http://shygypsy.c...
by naffi
Thu Nov 06, 2008 6:21 pm
Forum: Volume 5 (500-599)
Topic: 562 - Dividing coins
Replies: 73
Views: 30057

Re: 562 - Dividing Coins

Thanks LIMON.

However, would someone please reply to my previous post? I am getting WA.
by naffi
Thu Nov 06, 2008 3:08 pm
Forum: Volume 5 (500-599)
Topic: 562 - Dividing coins
Replies: 73
Views: 30057

Re: 562 - Dividing Coins

Hi Limon,

You should stop advertising about youngprogrammer.com. There, source codes are availavle and it is totally spoiler. You should stop referring that, that is actually no help but no help.
by naffi
Thu Nov 06, 2008 5:45 am
Forum: Volume 5 (500-599)
Topic: 562 - Dividing coins
Replies: 73
Views: 30057

Re: 562 - Dividing Coins WA

Hi, I am a little confused about this problem and getting WA. 1. if, in input,m = 0, is there going to be a blank line in the following line? 2.is this correct? W = sum/2; for(i = 0; i <= W; i++)A[0][i] = 0; for(i = 1; i <= n; i++) { A[i][0] = 0; for(j = 1; j <= W; j++) { if(v[i] <= j) { if(v[i] + A...
by naffi
Sat Oct 25, 2008 6:39 am
Forum: Volume 7 (700-799)
Topic: 713 - Adding Reversed Numbers
Replies: 142
Views: 40463

Hints:713 - Adding Reversed Numbers

Those who wants some hints:

1. for input like 1000 1, my output is 2000.
2. for input like 1000 1000, output is 2000.
3. for input like 00010 9, output is 90010.
4. No need to reverse at all.

And, I got AC in 0.000. :)
by naffi
Wed Oct 22, 2008 1:33 pm
Forum: Volume 115 (11500-11599)
Topic: 11530 - SMS Typing
Replies: 41
Views: 8619

Re: WA: 11530: SMS Typing

Thanks, :). I got my problem and got AC.
by naffi
Tue Oct 21, 2008 11:14 pm
Forum: Volume 115 (11500-11599)
Topic: 11530 - SMS Typing
Replies: 41
Views: 8619

11530 - SMS Typing

I am frustrated about this easy problem. WA and WA, but can not find the error. Can anybody help me? Is there any critical IO?
by naffi
Mon Oct 20, 2008 6:14 pm
Forum: Volume 114 (11400-11499)
Topic: 11436 - Cubes - EXTREME!!!
Replies: 21
Views: 8653

WA: 11436 - Cubes - EXTREME!!!

I got AC.
by naffi
Sat Oct 18, 2008 2:19 pm
Forum: Volume 115 (11500-11599)
Topic: 11500 - Vampires
Replies: 10
Views: 4934

Re: 11500 - Vampires - tips

Thanks neilor for your kind elaboratin, I got AC. :)
But, I did not handle unfair coin flipping as you said, may be the test cases are fair.
by naffi
Thu Oct 09, 2008 4:44 am
Forum: Volume 115 (11500-11599)
Topic: 11500 - Vampires
Replies: 10
Views: 4934

Re: 11500 - Vampires - tips

Gambler's Ruin is for D = 1, What about D != 1 ?
by naffi
Mon Oct 06, 2008 2:31 pm
Forum: Volume 115 (11500-11599)
Topic: 11508 - Life on Mars?
Replies: 7
Views: 3060

Re: 11508 - Life on Mars?

Thanks Brother, :) . Now AC.
Thanks again, hope your all well. Thanks.
by naffi
Mon Oct 06, 2008 12:31 pm
Forum: Volume 115 (11500-11599)
Topic: 11508 - Life on Mars?
Replies: 7
Views: 3060

Re: 11508 - Life on Mars?

Thanks for ur reply.

while taking input, i used

Code: Select all

while(scanf("%d%c",&x,&ch) && x)
for first digit. so if arr[0] = 0; no problem.
However, i initialised tmp, but still WA.:( . I still cant find any wrong. Can anyone give some critical test cases?
by naffi
Sun Oct 05, 2008 3:46 pm
Forum: Volume 115 (11500-11599)
Topic: 11508 - Life on Mars?
Replies: 7
Views: 3060

WA: 11508 - Life on Mars?

I cant find any wrong here and i checked for a lot of test case.
Can anyone help me?

removed
by naffi
Wed Oct 01, 2008 4:21 pm
Forum: Volume 115 (11500-11599)
Topic: 11505 - Logo
Replies: 8
Views: 5274

Re: WA-11505-LOGO

redroof wrote:try to change your PI to a more precise one:

Code: Select all

#define PI 0.01745329251994329914588889
Thanks redroof for your kind reply. I got AC after changing PI.
Thanks again. :)
by naffi
Wed Oct 01, 2008 9:20 am
Forum: Volume 115 (11500-11599)
Topic: 11505 - Logo
Replies: 8
Views: 5274

11505 - Logo

removed

Go to advanced search