Cod sursa(job #1252072)
Utilizator | Data | 30 octombrie 2014 12:50:13 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <fstream>
#include <iostream>
using namespace std;
int main()
{
int a,b;
ifstream f("adunare.in");
f>>a>>b;
ofstream g("adunare.out");
g<<"suma="<<a+b;
f.close();
g.close();
return 0;
}