XML 48 R37.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings per share - Additional Information (Detail) - shares
3 Months Ended
Jan. 31, 2018
Jan. 31, 2017
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 771,973 1,024,188