Cod sursa(job #418412)
Utilizator | Data | 15 martie 2010 20:43:11 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream.h>
#include <fstream.h>
unsigned long int a,b,s;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
return 0;}