Cod sursa(job #645055)
Utilizator | Data | 8 decembrie 2011 10:48:52 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream.h>
#include <conio.h>
void main()
{clrscr();
int a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
g<<a+b;
f.close();
g.close();}