Cod sursa(job #604538)
| Utilizator | Data | 23 iulie 2011 10:00:15 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream.h>
long a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main(){
f>>a>>b;
g<<a+b;
f.close();
g.close();
}