Cod sursa(job #415517)
| Utilizator | Data | 11 martie 2010 14:46:07 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.19 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;
}