Cod sursa(job #296344)
Utilizator | zloteanu adrian nichita zloteanu.adrian | Data | 4 aprilie 2009 17:49:11 |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.12 kb |
#include<fstream.h>
int main()
{int a,b;
ifstream q("adunare.in");
ofstream w("adunare.out");
q>>a>>b;
a=a+b;
w<<a;}