XML 49 R38.htm IDEA: XBRL DOCUMENT v3.10.0.1
Earnings per share - Additional Information (Detail) - shares
3 Months Ended 9 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2018
Jul. 31, 2017
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 0 812,244 245,328 1,104,837