Cod sursa(job #170980)
Utilizator | Data | 3 aprilie 2008 16:43:55 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream.h>
void main(){
long int a,b,suma;
ifstream fin("adunare.in");
fin>>a>>b;
fin.close();
ofstream fout("adunare.out");
suma=a+b;
fout<<suma<<endl;
}