Cod sursa(job #21072)
Utilizator | Data | 22 februarie 2007 21:27:39 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream.h>
#include<fstream.h>
void main(){
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
f>>a>>b;
g<<"Suma e "<<a+b;
f.close();
g.close();
}