Cod sursa(job #2061223)
Utilizator | Data | 8 noiembrie 2017 23:41:30 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int a,b,s;
ofstream out("adunare.in");
ifstream in("adunare.out");
in>>a>>b;
s = a + b;
out<<s;
in.close();
out.close();
return 0;
}