Cod sursa(job #1444047)

Utilizator VisanVisan Lucian Costinel Visan Data 29 mai 2015 07:38:36
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.24 kb
#include <iostream>
#include <fstream>
using namespace std;
int a,b,S;
int main()
{
    ifstream f ("adunare.in");
    ofstream r ("adunare.out");
    f>>a;
    f>>b;
    S = a+b;
    f.close();
    r.close();
    return 0;
}