Cod sursa(job #1268634)
Utilizator | Data | 21 noiembrie 2014 10:11:09 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int A,B,S;
int main()
{
f>>A>>B;
S=A+B;
g<<S;
f.close();
g.close();
return 0;
}