Càlcul nota d'una categoria amb percentatges