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