Cod sursa(job #928155)

Utilizator smexhyCota Samuel Ludovick Johnson Wolfbang Ratuta smexhy Data 26 martie 2013 11:55:58
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.29 kb
#include <iostream>
#include <fstream>
using namespace std;

int main()
{
    int b,a;
    
   ifstream cheia("adunare.in");
   cheia >> a;
   cheia >> b;
   
   cheia.close();
   
   ofstream cheiaout("adunare.out");
   cheiaout << a + b << endl;
   
   cheiaout.close();
}