Cod sursa(job #1088028)

Utilizator gheorghelupu17Gheorghe Lupu gheorghelupu17 Data 20 ianuarie 2014 08:27:50
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 a,b,s;
int main()
{  
    fin >>a;
    fin >> b;
    s=a+b;
    fout<<s;
    fout.close();
    return 0;
}