Cod sursa(job #2700984)

Utilizator dragos_matteoDragos Mateo dragos_matteo Data 29 ianuarie 2021 15:27:34
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.23 kb
#include <iostream>
#include <fstream>

using namespace std;
unsigned x, y, z;
int main()
{
    ifstream f("adunare.in");
    ofstream g("adunare.out");

    f >> x;
    f >> y;
    z = x + y;
    g << z;
    return 0;
}