Cod sursa(job #1164703)
Utilizator | Data | 2 aprilie 2014 11:36:24 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.3 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream in_str("adunare.in",ios::in);
ofstream out_str("adunare.out",ios::out);
int a,b;
in_str >> a;
in_str >> b;
out_str << a+b;
out_str.close();
in_str.close();
return 0;
}