Cod sursa(job #1357132)
Utilizator | Data | 23 februarie 2015 19:39:18 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("suma.in");
ofstream g("suma.out");
int main()
{int a,b,s;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}