Cod sursa(job #460846)
Utilizator | Data | 4 iunie 2010 11:30:43 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream>
using namespace std;
long int a, b, s;
ifstream f ("adunare.in");
ofstream g ("adunare.out");
int main()
{
f>>a;
f>>b;
s=a+b;
g<<s;
}