Cod sursa(job #1237961)
Utilizator | Data | 5 octombrie 2014 12:14:58 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<fstream>
using namespace std;
int main()
{
fstream f("adunare.in", ios::in);
int a, b;
f >> a;
f >> b;
int s = 0;
s = a + b;
fstream g("adunare.out", ios::out);
g<<s;
return 0;
}