The present invention includes compounds of formula (I), their tautomeric forms, their stereoisomers and their pharmaceutically acceptable salts; A pharmaceutical composition comprising a compound, a tautomer, a stereoisomer or salt thereof; And methods of treating or preventing diseases or disorders, such as cancer, which are treated or prevented by inhibiting the PARP enzyme of a subject: Wherein Ring A, Ring B, R 1 -R 5 , X, Y, p, q, r and s are as defined herein.본원에는, 화학식(I)의 화합물, 이의 토토머형, 이의 입체이성체 및 이의 약학적으로 허용가능한 염; 화합물, 이의 토토머, 입체이성체 또는 염을 포함하는 약학적 조성물; 및 대상체의 PARP 효소를 억제함으로써 치료 또는 예방되는 질환 또는 장애, 예컨대, 암의 치료 또는 예방 방법이 개시된다: 상기 식에서, 고리 Ar, 고리 B, R1-R5, X, Y, p, q, r 및 s는 본 명세서에 정의된 바와 같다.