Cod sursa(job #944827)

Utilizator Dorian7Casapu Dorian Dorian7 Data 29 aprilie 2013 20:07:35
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()
{
   long int a,b,s;
    ifstream f("adunare.in");
    ofstream g("adunare.out");
    f>>a>>b;
    s=a+b;
    g<<s;
    f.close();
    g.close();
}