Cod sursa(job #298840)
Utilizator | Data | 6 aprilie 2009 13:44:59 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<iostream.h>
#include<fstream.h>
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
void main ()
{
int a,b,s=0;
f>>a>>b;
s=a+b;
g<<s;
}