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