Cod sursa(job #1062098)

Utilizator nervu12Cochilet Teodor nervu12 Data 20 decembrie 2013 18:15:54
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
    int a,b,s;
    f >> a;
    f >> b;
    f.close();
    s=a+b;
    g << s;
    g.close();
    return 0;
}