Cod sursa(job #94217)
Utilizator | Data | 22 octombrie 2007 10:10:07 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <fstream>
using namespace std;
int main()
{
ifstream fin("adunare.in");
ofstream fout("adunare.out");
int a,b,s;
fin>>a;
fin>>b;
s=a+b;
fout<<s;
fin.close();
fout.close();
system ("PAUSE");
return 0;
}