Cod sursa(job #1261020)
Utilizator | Data | 11 noiembrie 2014 21:07:11 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{int a,b,s=0;
ifstream f("adunare.in");f>>a;f>>b;
s=a+b;
ofstream g("adunare.out"); g<<s;f.close();g.close();cout<<s;
return 0;
}