Terpolymerization of maleic anhydride, styrene and electron-acceptor monomers