Search found 1 match

by elf
Fri Feb 07, 2003 6:41 pm
Forum: Volume 103 (10300-10399)
Topic: 10328 - Coin Toss
Replies: 19
Views: 7383

10328

The following code runs very fast on my computer: [cpp] #include <stdio.h> #include <math.h> #define DIG 40 #define CMAX 102 typedef unsigned long int ULint; ULint n,k; int sans[CMAX ][DIG]; int num[DIG]; int tnum[DIG]; void refresh(int *n) { int i; for(i=0;i<(DIG-1);i++) { while(n >=10) { n -=10; n...

Go to advanced search