Cod sursa(job #415500)
Utilizator | Data | 11 martie 2010 14:07:38 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream>
using namespace std;
long a,b;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
long s;
f>>a;
f>>b;
s=a+b;
g<<s;
return 0;
}