Cod sursa(job #980695)

Utilizator borcanirobertBorcani Robert borcanirobert Data 5 august 2013 14:36:19
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.24 kb
#include <fstream>
using namespace std;

ifstream fin("adunare.in");
ofstream fout("adunare.out");

int main()
{
    int a, b, s = 0;
    fin >> a >> b;
    s = a + b;
    fout << s << '\n';
    fin.close();
    fout.close();
    return 0;
}