Cod sursa(job #857562)
Utilizator | Data | 17 ianuarie 2013 23:10:05 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int a,b;
ifstream g("adunare.in");
ofstream y("adunare.out");
g>>a>>b;
y<<a+b;
y.close();
return 0;
}