Time Limit: 1s
Memory Limit: 128MB
an illegal situation
They are the same.
Now X will give you N, L, R, he wants you to help him calculate the number of different methods, because the number of method is so huge, so X just want you to tell him the remainder when divided by M.3 3 55 3 5 125 3 8 1076 162 78923 987460
8 20 440 651834385