Cod sursa(job #1910739)

Utilizator ifrimencoAlexandru Ifrimenco ifrimenco Data 7 martie 2017 18:04:32
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include <fstream>

using namespace std;

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