Cod sursa(job #1039597)
Utilizator | Data | 23 noiembrie 2013 12:24:20 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
using namespace std;
int main()
{
int a,b,s;
ifstream fin("adunare.in");
ofstream fin("adunare.out");
fin >> a >> b;
fout << a << " " << b;
s=a+b;
cout<<s;
fin.close();
fout.close();
return 0;
}