Cod sursa(job #404961)
Utilizator | Data | 26 februarie 2010 23:52:55 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <fstream>
using namespace std;
int main () {
long int a,b;
ifstream intrare("adunare.in");
ofstream iesire("adunare.out");
intrare >> a;
intrare >> b;
iesire << a+b;
intrare.close();
iesire.close();
return 0;
}