Cod sursa(job #671282)
| Utilizator | Data | 31 ianuarie 2012 08:43:20 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
f>>a>>b;
f.close();
g<<a+b;
g.close();
}