the something of hydrogen is +1 and of oxygen is -2
'something' here should be 'the degree of oxidation of an atom or ion or molecule; for simple atoms or ions the oxidation number is equal to the ionic charge' .