Cod sursa(job #1260982)
Utilizator | Data | 11 noiembrie 2014 20:24:37 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
int main()
{int a,b,S;
fin>>a>>b;
S=a+b;
fout<<S;
fin.close();
fout.close();
return 0;
}