Cod sursa(job #1590206)
Utilizator | Data | 4 februarie 2016 19:39:01 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
using namespace std;
int main()
{
int a,b,s;
ifstream fin("a+b.in");
ofstream fout("a+b.out");
fin>>a>>b;
s=a+b;
fout<<s<<endl;
return 0;
}