Cod sursa(job #309132)
| Utilizator | Data | 29 aprilie 2009 19:36:25 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | super_easy | Marime | 0.2 kb |
#include <iostream.h>
#include <fstream.h>
int main() {
ifstream f; f.open("adunare.in");
ofstream g; g.open("adunare.out");
int a, b;
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}