Cod sursa(job #1018151)

Utilizator ClaudyuSuhaianu Claudiu Claudyu Data 28 octombrie 2013 22:14:25
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.22 kb
#include <iostream>
#include <fstream>
using namespace std;
long int x,y;
int main()
{
    ifstream a ("adunare.in");
    ofstream b ("adunare.out");
    while(a >> x)
    a >> y;
    b << x + y;
    return 1;
}