Cod sursa(job #1461824)
Utilizator | Data | 16 iulie 2015 15:34:18 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
using namespace std;
int a, b, s;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f >> a >> b;
s = a+b;
g << s;
return 0;
}