Cod sursa(job #1283460)
| Utilizator | Data | 5 decembrie 2014 18:46:43 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main()
{
ifstream f("adunare.in.txt");
ofstream g("adunare.out.txt");
int x,y,s;
f>>x>>y;
s=x+y;
g<<s;
f.close();
g.close();
return 0;
}
