Cod sursa(job #182254)
Utilizator | Data | 20 aprilie 2008 16:26:12 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
#include<iostream.h>
ifstream be("adunare.in");
ofstream ki("adunare.out");
int main()
{
int a,b;
be>>a;
be>>b;
ki<<a+b;
be.close();
ki.close();
return 0;
}