Cod sursa(job #752318)
Utilizator | Data | 28 mai 2012 12:54:36 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream.h>
#include<fstream.h>
int s,a,b;
int main()
{
ifstream f("adunare.in");
ofstream h("adunare.out") ;
f>>a;
f>>b;
f.close();
s=a+b;
h<<s;
h.close();
return 0;
}