Cod sursa(job #1492255)
Utilizator | Data | 27 septembrie 2015 14:21:56 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int x,y;
int main()
{
f>>x>>y;
g<<x+y<<'\n';
return 0;
}