Cod sursa(job #403099)
Utilizator | Data | 24 februarie 2010 17:01:04 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <iostream>
#include <fstream>
using namespace std ;
int main ()
{
int a , b ;
fstream fin ( "adunare.in" , ios::in ) , fout ( "adunare.out" , ios::out ) ;
fin >> a ;
fin >> b ;
fin.close () ;
fout << a + b ;
fout.close () ;
return 0 ;
}