Cod sursa(job #988587)

Utilizator kosasDimitrie kosas Data 23 august 2013 12:54:57
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.23 kb
#include <iostream>

#include <fstream>

using namespace std;

//ifstream x ("input.txt");

ifstream x ("adunare.in");

ofstream y ("adunare.out");

int main()
{

    int a,b;

    x>>a>>b;

    y<<a+b;

    return 0;

}