Cod sursa(job #1041855)
Utilizator | Data | 26 noiembrie 2013 11:59:05 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
#include <iostream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{int a,b,s;
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}