Hi all
I'm having some fun solving some programming problems in SPOJ (www.spoj.pl, very very cool, check it out). The thing is that is need to calculate some big fatorials (~100!). With FPC and the standard integer types I was unable to perform the correct calculations because 100! is bigger than the largest number which can be represented with those types. So I moved to the extended type and it worked quite well, performing correct calculations and giving correct results. I started wondering is this was a smart decision or if it is completely stupid (i'm new to programming competitions and stuff like that).
The problem is that I'm unable to write the complete number on stdout. Using extended I could only use scientific notation, which the judge software does not seems to like. Question: what would be the correct way to write the number on screen without using scientific notation e.g.: 5! = 120 and not 5! = 1.2E+2?
