Cod sursa(job #8462)
Utilizator | Data | 24 ianuarie 2007 20:03:07 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
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;}