Cod sursa(job #1488648)
Utilizator | Data | 19 septembrie 2015 13:55:40 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include<fstream>
using namespace std;
int main()
{
int x,y,s;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>x;
f>>y;
s=x+y;
g<<s;
return 0;
}