Cod sursa(job #544909)
Utilizator | Data | 2 martie 2011 13:18:56 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream>
using namespace std;
int main ()
{
ifstream f ("adunare.in");
ofstream g ("adunare.out");
int A,B;
f>>A;
f>>B;
g<<A+B<<'\n';
f.close();
g.close();
return 0;
}