Search found 5 matches

by Thozz
Sat Jan 10, 2004 8:04 pm
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 65209

Hi!. Thanks a lot for your hints!!. I will try and deal with the problem as soon as posible. Unfortunately, I'm now very busy :( .

Thanks again!! :D
by Thozz
Fri Jan 09, 2004 12:08 am
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 65209

Please!, please!!!.

Hi!. I'm also looking for hints for this problem. I think my program gives a right answer. I've tried with 0 size... but still got WA :roll:

Thanks in advance!. :wink:
by Thozz
Thu Nov 20, 2003 11:50 am
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 65209

You should complete with blanks your lines till the end. I mean... all the lines must have the same width, and your fifth line:

*******aaa***aaa***aaa***aaa***aaa

is not completed:

*******aaa***aaa***aaa***aaa***aaa******

I still got WA!!! :oops:
by Thozz
Sat Nov 15, 2003 2:20 pm
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 65209

Hi!. I've dealed with ASCII code, blanks, zero size, eight digits numbers... but I always get WA. Does anyone know about the critical input??.
by Thozz
Tue Oct 28, 2003 10:54 pm
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 49090

Hi there!. This is my code:

#include <stdio.h>

long double Factorial(int f, int s) {
if (f < s) return 1;
else return f*Factorial(f-1, s);
}

main() {
long double n, k;
while ((scanf("%Lf %Lf\n", &n, &k)>0)&&(n>0))
if (k > 0)
printf("%.0Lf\n", Factorial(n, n-k+1)/Factorial(k, 1));
else ...

Go to advanced search