Cod sursa(job #1246289)
| Utilizator | Data | 20 octombrie 2014 21:38:06 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <fstream>
using namespace std;
int a,b,s;
int main()
{
ifstream y("adunare.in");
ofstream z("adunare.out");
y >> a;
y >> b;
s = a + b;
z << s;
z.close();
return 0;
}
