Cod sursa(job #369299)
| Utilizator | Data | 27 noiembrie 2009 21:05:48 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
int main()
{ f>>a;
f>>b;
g<<a+b<<"\n";
return 0;
f.close();
g.close();
}
