Cod sursa(job #633247)
Utilizator | Data | 13 noiembrie 2011 13:03:57 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream>
#include<fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
long a,b,S;
f>>a>>b;
f.close();
S=a+b;
g<<S;
g.close();
return 0;
}