Cod sursa(job #1946120)

Utilizator Dobricean_IoanDobricean Ionut Dobricean_Ioan Data 29 martie 2017 22:00:06
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.2 kb
#include <fstream>
#include <iostream>
 
using namespace std;
 
int main() {
    ifstream f("adunare.in");
    ofstream g("adunare.out");
    int a, b;
    f >> a >> b;
    int suma = a + b;
    g << suma;
}