Cod sursa(job #680994)

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

#include <fstream>
int 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;
}