Dexoyribose (C5 H10 04) and Ribose (C5 H10 O5) are the 'pentose sugars' present in DNA and RNA respectively. By definition, sugars are a subset of carbohydrates. By definition, carbohydrates (= hydrated carbons) always have their ratio of hydrogen to oxygen as 2:1, as in water.
So are Deoxyribose and Ribose, not carbohydrates?