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