Cod sursa(job #627011)
Utilizator | Data | 28 octombrie 2011 19:55:07 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<iostream.h>
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,c;
void main()
{f>>a;
f>>b;
c=a+b;
g<<c;
g.close();}