Cod sursa(job #1467327)
Utilizator | Data | 3 august 2015 11:32:23 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream f("in.txt");
ofstream q("out.txt");
int sum=0,a,b;
f>>a;
f>>b;
sum = a+ b;
q<<sum;
return 0;
f.close();
q.close();
}