Cod sursa(job #1787300)
Utilizator | Data | 24 octombrie 2016 13:58:21 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <fstream>
using namespace std;
ifstream fin ("adunare.in");
ofstream fout ("adunare.out");
int a,b,S;
int main()
{
fin >> a >> b;
if(S=a+b)
fout << "S=";
S=a+b;
fout << S;
return 0;
}