Cod sursa(job #635170)
Utilizator | Data | 18 noiembrie 2011 17:13:14 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<iostream.h>
#include<fstream.h>
fstream f("D:\\adunare.in",ios::in);
fstream g("D:\\adunare.out",ios::out);
int a,b,s=0;
void main()
{
f>>a;
f>>b;
g<<(a+b);
f.close();}