Cod sursa(job #1405522)

Utilizator swiftytacoPatiu Alexandru swiftytaco Data 29 martie 2015 12:42:42
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <iostream>
#include <fstream>

using namespace std;

int main()
{
    ifstream F;
    F.open("adunare.in");
    ofstream G;
    G.open("adunare.out");
    int a,b;
    F>>a>>b;
    G<<a+b;
    F.close;
    G.close;
    return 0;
}