Cod sursa(job #533171)
| Utilizator | Data | 13 februarie 2011 13:18:24 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
int a,b;
long r;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
r = a + b;
g<<r;
return 0;
}
