Cod sursa(job #1220342)
Utilizator | Data | 17 august 2014 02:03:13 | |
---|---|---|---|
Problema | Fractii | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.32 kb |
#include <iostream>
#include <math.h>
#include <fstream>
using namespace std;
ifstream f("fractii.in");
ofstream g("fractii.out");
int main()
{
int n, x = 0;
f>>n;
for (int i = 1; i <= n; i ++)
{
for (int j = 1; j <= n; j ++)
{
g<<2;
}
}
g<<x;
return 0;
}