Cod sursa(job #986239)

Utilizator tomadi2000Stoicescu Adrian tomadi2000 Data 18 august 2013 10:53:26
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
    long int a,b,s;
    ifstream f("adunare.in");
    ofstream g("adunare.out");
    f>>a;
    f>>b;
    s=a+b;
    g<<s;
}