Cod sursa(job #352779)
Utilizator | Data | 3 octombrie 2009 14:17:47 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | c | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream>;
#include<iostream.h>;
void main () {
ifstream f("adunare.in");
ifstream g("adunare.out");
int a,b,x=0;
f>>a;
f>>b;
x+=a+b;
g<<x;
f.close();
g.close();
}