Cod sursa(job #869963)

Utilizator DragosChisDragos Chis DragosChis Data 2 februarie 2013 17:17:25
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.22 kb
#include <fstream>
using namespace std;

int a,b,c;
ifstream fi("adunare.in");
ofstream fo("adunare.out");
int main()
{
    fi>>a>>b;    
    c=a+b;
    fo<<c;
    fi.close();
    fo.close();
    return 0;
}