Cod sursa(job #221326)

Utilizator MadAndreiIoan Andrei MadAndrei Data 15 noiembrie 2008 19:21:55
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.22 kb
#include <fstream.h>

int main()
{
    ifstream fin("adunare.in");
    int a, b;
    fin >> a >> b;
    fin.close();
    
    ofstream fout("adunare.out");
    fout << a + b;
    fout.close();
    return 0;
}