Cod sursa(job #901682)
Utilizator | Data | 1 martie 2013 11:15:11 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,suma;
int main()
{
f>>a;
f>>b;
f.close();
suma=a+b;
g<<suma;
g.close();
return 0;
}