Cod sursa(job #680997)

Utilizator badboyvladVlad Isoc badboyvlad Data 16 februarie 2012 12:47:01
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.2 kb

#include <fstream>
long a,b;
using namespace std;
ifstream f;
ofstream g;
int main()
{
    f.open("adunare.in");
    f.open("adunare.out");

    f>>a;
    f>>b;
    g<<a+b;

    return 0;
}