Cod sursa(job #24444)
Utilizator | Data | 2 martie 2007 14:14:39 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<fstream.h>
long a, b, s;
void citire()
{
ifstream in("adunare.in");
in>>a;
in>>b;
in.close();
}
int main()
{
s=a+b;
ofstream out("adunare.out");
out<<s;
out.close();
return 0;
}