Cod sursa(job #1933776)

Utilizator Consti.001FMI Dranca Constantin Consti.001 Data 20 martie 2017 22:13:50
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.24 kb
#include <fstream>
#include <iostream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");

int main()
{
 int *a,*b;
 a=new int;
 b=new int;
    f>>*a>>*b;
    g<<*a+*b;

    delete(a);
    delete(b);

}