Cod sursa(job #1650222)
Utilizator | Data | 11 martie 2016 17:16:19 | |
---|---|---|---|
Problema | Factorial | Scor | 5 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <iostream>
#include<fstream>
#include<bits/stdc++.h>
using namespace std;
ifstream f("fact.in");
ofstream g("fact.out");
int main()
{
unsigned p;
f>>p;
g<<p*5;
}