Searches for supersymmetry with the CMS detector at the LHC