Cod sursa(job #1329870)
Utilizator | Data | 29 ianuarie 2015 22:12:48 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
int a,b;
f>>a>>b;
f.close();
g<<a+b;
g.close();
return 0;
}