Cod sursa(job #223204)
Utilizator | Data | 27 noiembrie 2008 16:48:13 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
void main()
{ int a, b, s;
ifstream in("adunare.in");
in>>a;
in>>b;
s=a+b;
ofstream out("adunare.out");
out<<s;
out.close();
}