Cod sursa(job #857455)
Utilizator | Data | 17 ianuarie 2013 20:43:37 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
#include <iostream>
using namespace std;
int main()
{int a,b,s;
ifstream f("adunare.in.txt");
ofstream g("adunare.out.txt");
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
}