XML 47 R36.htm IDEA: XBRL DOCUMENT v3.19.1
Earnings per share - Additional Information (Detail) - shares
3 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 93,000 771,973