Cod sursa(job #904689)
Utilizator | Data | 4 martie 2013 19:16:46 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream h ("adunare.in");
ofstream g ("adunare.out");
int a,b,s;
h>>a>>b;
s=a+b;
g<<s;
h.close();
g.close();
return 0;
}