Cod sursa(job #657635)
Utilizator | Data | 6 ianuarie 2012 22:02:53 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream.h>
#include <fstream.h>
using namespace std;
long long int a,b,s;
int main ()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}