Cod sursa(job #1028783)
Utilizator | Data | 14 noiembrie 2013 18:01:47 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{ int a,b,S;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
S=a+b;
g<<"suma numerelor este"<<" "<<S;
return 0;
}