Cod sursa(job #37984)
Utilizator | Data | 25 martie 2007 13:13:02 | |
---|---|---|---|
Problema | Elimin 2 | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream.h>
int main()
{ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,s;
f>>a>>b;
s=a+b;
g<<s;}