Cod sursa(job #1420180)

Utilizator tudorgalatanRoman Tudor tudorgalatan Data 17 aprilie 2015 20:46:06
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.2 kb
#include <fstream>

using namespace std;

int a, b, s;

int main()
{
    ifstream f("adunare.in");
    ofstream g("adunare.out");
    f >> a >> b;
    s = a + b;
    g << s;
    return 0;
}