Cod sursa(job #319870)
| Utilizator | Data | 2 iunie 2009 16:13:09 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.14 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;} 