Cod sursa(job #1772018)

Utilizator MasurceacMasurceac Serghei Masurceac Data 6 octombrie 2016 14:02:48
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() {
    ifstream f("adunare.in");
    int a,b;
    f>>a>>b;
    f.close();
    ofstream f2("adunare.out");
    f2<<a+b;
    f2.close();
    return 0;
}