Cod sursa(job #497958)
Utilizator | Data | 3 noiembrie 2010 19:53:01 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<iostream.h>
#include<fstream.h>
long a,b;
int main(){
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
g<<a+b;
f.close();
g.close();}