Opening book details…
Can I read UVa 568: Just the Facts Code on EtoBox?
UVa 568: Just the Facts Code by thextroid is a document available to read on EtoBox.
What is UVa 568: Just the Facts Code about?
This C program precomputes and stores the last digit of the factorials of numbers up to 10001. It uses an array to store these precomputed last digits. The main function calls the precompute function to populate the array, then reads numbers from standard input and prints the corresponding precomputed last digit from the array.
- Author
- thextroid
- Language
- EN