Cod sursa(job #1039611)
Utilizator | Data | 23 noiembrie 2013 12:35:41 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
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;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin >> a >> b;
s=a+b;
fout<<s;
fin.close();
fout.close();
return 0;
}