单项选择题

He was dismissed for failing to ______ with the school regulations.

A.accommodate
B.comply
C.compote
D.apply