Search found 2 matches

by dev_sust
Wed Oct 11, 2006 9:27 pm
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 71545

hi,
I wrote a code to find factorial of max 1000. I pre calculate 1000! for avoiding TLE.
i used a large structure to store ans of 1!-1000!.

prob 1:
It works when the structure is less or
equal than 143 in my pc. (i m using borland 5). but if sz2>=144 then the EXE
terminates automically ...
by dev_sust
Mon Oct 09, 2006 10:53 pm
Forum: Volume 4 (400-499)
Topic: 444 - Encoder and Decoder
Replies: 155
Views: 44466

My code generates same output but RTE. why??? :-? kostay assie.......Need ur Help
Thanx in advance


here is my code:



#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <math.h>

#define sz 85
#define sz2 255

void encode(char e[sz],char d[sz2]);
void decode(char e[sz],char d[sz2 ...

Go to advanced search