Cod sursa(job #597969)

Utilizator DanytzuBran Daniel Danytzu Data 24 iunie 2011 08:39:31
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <iostream>
#include <fstream>
 
using namespace std;
 
ifstream in;
ofstream out;
 
int main()
{
int a,b;
 
in.open("adun.in.txt");
in>>a>>b;
in.close();
 
out.open("adun.out.txt");
out<<a+b<<'\n';
out.close();
 
return 0;
}