Cod sursa(job #1814324)
Utilizator | Data | 23 noiembrie 2016 20:59:50 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include<fstream>
using namespace std;
int main()
{
long n,m,s=0;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>n>>m;
s=s+n+m;
g<<s;
f.close();
g.close();
return 0;
}