Cod sursa(job #226562)
Utilizator | Data | 1 decembrie 2008 22:29:58 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.29 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
long int a,b,s;
ifstream fIn("adunare.in");
ofstream fOut("adunare.out");
fIn>>a;
fIn>>b;
s=a+b;
fOut<<s<<"\n";
fIn.close();
fOut.close();
system("PAUSE");
return 0;
}