Cod sursa(job #6632)
Utilizator | Data | 20 ianuarie 2007 13:33:32 | |
---|---|---|---|
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;}