Cod sursa(job #975353)
Utilizator | Data | 19 iulie 2013 21:41:58 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream>
using namespace std;
int a;
int b;
int main()
{
ifstream x("adunare.in");
ofstream y("adunare.out");
x>>a>>b;
y<<a+b;
x.close();
y.close();
return 0;
}