Cod sursa(job #21077)
Utilizator | Data | 22 februarie 2007 21:32: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");
int a,b;
f>>a;
f>>b;
g<<"Suma e "<<a+b;
f.close();
g.close();
}