Cod sursa(job #597968)
Utilizator | Data | 24 iunie 2011 08:32:06 | |
---|---|---|---|
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;
}