Cod sursa(job #807689)
Utilizator | Data | 5 noiembrie 2012 15:31:48 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
# include <fstream>
using namespace std;
int main ()
{
int q, p,res;
ifstream f ( "adunare.in" );
ofstream g ( "adunare.out" );
f >> p >> q;
res = q + p;
g << res;
return 0;
}