Cod sursa(job #2978696)
Utilizator | Data | 14 februarie 2023 02:33:48 | |
---|---|---|---|
Problema | Factorial | Scor | 5 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream>
#include <iostream>
using namespace std;
ifstream fin("fact.in");
ofstream fout("fact.out");
int p, n;
int main() {
fin >> p;
fout << 5*p << '\n';
return 0;
}