intpageallcount=((m%n)==0)?(m/n):(m/n)+1;如果m%n取模等于0那么就执行(m/n)的值返回给pageallcount 不等于0就执行(m/n)+1的值返回给pageallcount