Cod sursa(job #1571479)

Utilizator HancuDragosHANCU Dragos HancuDragos Data 18 ianuarie 2016 09:42:56
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 a,b,s;
int main()
{ s=0;
    f>>a>>b;
        s=a+b;
        g<<s;
f.close(); g.close();

    return 0;
}