1. 程式人生 > >費馬小定理+逆元(模板)

費馬小定理+逆元(模板)

For each case, output the case number and the desired value. Since the result can be very large, you have to print the result modulo1000003.