Cod sursa(job #1524934)
| Utilizator | Data | 14 noiembrie 2015 16:10:23 | |
|---|---|---|---|
| Problema | Factorial | Scor | 10 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream in("fact.in");
ofstream out("fact.out");
int p;
in>>p;
out<<p*4+1;
}
