Cod sursa(job #21282)
Utilizator | Data | 23 februarie 2007 11:06:43 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<iostream.h>
#include<fstream.h>
int main(){
ifstream f("adunare.in");
ofstream g("adunare.out");
long int a,b;
f>>a;
f>>b;
g<<"Suma e "<<a+b;
f.close();
g.close();
return 0;
}