Cod sursa(job #1240489)
Utilizator | Data | 11 octombrie 2014 14:14:32 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | 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;
}