About this document
UVa 568: Just the Facts Code by Israel Marino is a document available to read on EtoBox.
This C program precomputes and stores the last digit of the factorials of numbers up to 10001. It uses a precompute function to calculate the factorials and store their last digits in an array. The main function then calls precompute, reads a number n from input, and prints the last digit of n
- Author
- Israel Marino
- Language
- EN