Cod sursa(job #415499)
Utilizator | Data | 11 martie 2010 14:05:22 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream>
using namespace std;
long a,b,s;
int main()
{
ifstream f("suma1.in");
ofstream g("suma1.out");
f>>a>>b;
s=a+b;
g<<s<<" ";
return 0;
}