Cod sursa(job #456436)

Utilizator flashthdPop Razvan flashthd Data 15 mai 2010 17:03:15
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.29 kb
#include<fstream>
#include<iostream>
using namespace std;
int main()
{
     int a,b;
         ifstream f("adunare.in");
         f>>a;
         f>>b;
         ofstream g("adunare.out");
         g<<a+b;
         f.close();
         g.close();
         return 0;
         }