Cod sursa(job #2371049)

Utilizator TommyTomei Alexandru Tommy Data 6 martie 2019 15:22:04
Problema A+B Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.51 kb
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/* 
 * File:   main.cpp
 * Author: ioan
 *
 * Created on March 6, 2019, 2:56 PM
 */

#include <cstdlib>
#include <fstream>

using namespace std;

/*
 * 
 */
int main(int argc, char** argv) {
    
    ifstream f("adunare.in");
    ofstream g("adunare.out");
    
    int a, b;
    f >> a;
    f >> b;
    
    g << a + b;

    return 0;
}