Cod sursa(job #1234680)

Utilizator BoneToBeWildMazilu Andrei BoneToBeWild Data 27 septembrie 2014 19:54:02
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.23 kb
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
    int a,b;
    ifstream f1;
    f1.open("adunare.in");
    ofstream f2;
    f2.open("adunare.out");
    f1 >> a >> b;
    f2 << a+b;
    return 0;
}