Cod sursa(job #1118514)
Utilizator | Data | 24 februarie 2014 11:44:45 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
long a , b , S=0;
f>>a;
f>>b;
S=a+b;
g<<S;
f.close();
g.close();
return 0;
}