Search found 3 matches

by mad
Fri Jul 06, 2007 5:45 am
Forum: Volume 101 (10100-10199)
Topic: 10198 - Counting
Replies: 30
Views: 15435

Hello everybody!!! I did the program but I'm receiving presentation error. My code is below. Could someone help me? #include <string.h> #include <stdio.h> #define MAXDIGITS 1000 #define max(a,b) (a > b) ? a : b; typedef struct { char digits[MAXDIGITS]; /* represent the number */ int signbit; /* PLUS...
by mad
Thu Jul 05, 2007 11:41 pm
Forum: Volume 101 (10100-10199)
Topic: 10191 - Longest Nap
Replies: 75
Views: 29337

I tryed a lot but I didn 't find where is the mistake in my code. Could someone help me? I'm receiving WA. Thank you in advance. #include <stdio.h> #include <stdlib.h> #include <string.h> int intcmp (const void *, const void *); int main() { int time1; int time2; int i; int j; int quanttimes; int qu...
by mad
Wed Jul 04, 2007 6:25 am
Forum: Volume 101 (10100-10199)
Topic: 10183 - How Many Fibs?
Replies: 66
Views: 24042

I'm not managing to count the fibonacci numbers in a write way. Can someone help me? I'm having large answers (much more than the right one). Thank you in advance! #include <stdio.h> #include <string.h> #define MAXDIGITS 101 typedef struct { char digits[MAXDIGITS]; int signbit; int lastdigit; } Bigi...

Go to advanced search