Cod sursa(job #1813570)

Utilizator enacheionutEnache Ionut enacheionut Data 23 noiembrie 2016 00:41:57
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
    int a, b, s;
    ifstream f("adunare.in");
    ofstream g("adunare.out");
    f>>a>>b;
    s=a+b;
    g<<s;
    f.close();
    g.close();
    cout<<endl;
    return 0;
}