Cod sursa(job #1735923)

Utilizator rnqftwcalina florin daniel rnqftw Data 31 iulie 2016 17:07:17
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include<fstream>
using namespace std;
int main()
{
       int a,b;
       long s;
       ifstream f1("ADUNARE.IN");
       f1>>a>>b;
       s=a+b;
       ofstream f2("adunare.out");
       f2<<s;
       f1.close();
       f2.close();
}