Cod sursa(job #21281)
Utilizator | Data | 23 februarie 2007 11:05:17 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream.h>
#include<fstream.h>
void 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();
}