XML 47 R36.htm IDEA: XBRL DOCUMENT v3.7.0.1
Earnings per share - Additional Information (Detail) - shares
3 Months Ended 6 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Apr. 30, 2017
Apr. 30, 2016
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 1,003,854 899,820 1,003,854 868,524