Cod sursa(job #2522940)
Utilizator | Data | 13 ianuarie 2020 14:28:45 | |
---|---|---|---|
Problema | Factorial | Scor | 5 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream>
using namespace std;
ifstream f("fact.in");
ofstream g("fact.out");
long long int p;
int main()
{
f>>p;
g<<25*(p/6)+5*(p%6)<<"\n";
return 0;
}