Cod sursa(job #535264)
| Utilizator | Data | 16 februarie 2011 22:24:48 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | teme_upb | Marime | 0.19 kb |
#include<fstream>
#include<iostream.h>
int a,b,S;
fstream f("adunare.in", ios::in);
fstream g("adunare.out", ios::out);
int main()
{f>>a>>b;
S=a+b;
g<<S;
g.close();
f.close();
}
