Cod sursa(job #668351)

Utilizator caliman_ghCaliman Gheorghe caliman_gh Data 24 ianuarie 2012 19:07:40
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.24 kb
#include <iostream>
#include <fstream>

using namespace std;
    int main ()
    {
        int n, m, s;
        ifstream f("adunare.in");
        ofstream g("adunare.out");
        f >> n >> m;
        s=n+m;
        g << s;
    }