Cod sursa(job #22471)
Utilizator | Data | 26 februarie 2007 17:59:00 | |
---|---|---|---|
Problema | Patrate 3 | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <fstream.h>
unsigned int n, x, y, i, nr=0;
int main()
{
fstream f("patrate3.in", ios::in);
f>>n;
for(i=1; i<=n; i++)
{f>>x;
f>>y;
}
fstream g("patrate3.out", ios::out);
g<<nr;
f.close();
g.close();
}