Cod sursa(job #1188830)
Utilizator | Data | 20 mai 2014 17:23:58 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <iostream>
#include <fstream.h>
using namespace std;
ifstream g("adunare.in");
ofstream h("adunare.out");
int main()
{
int A, B, S;
g>>A;
g>>B;
S = A + B;
h<<A<<" + "<< B <<" = "<<S;
return 0;
}