LJX in elementary School! He and YSM,YSF,WHT,LTJ and others are alumni. Today is a day of drowning in his life. Today, he will prove to his classmates that his maths is "happy". So, just learn simple a+b problem He, in class, to enemies Swatch Challenge Qaq, Swatch team have yzm,sjy,zzq and other people. And the LJX team has his good friends (JI) Friends: Ysm,ysf,wht,ltj,lzh and other people, the strength of the weak underestimated. There is one such problem: Given a positive integer n,m, the computational 1,2,......,n is required to be connected (1234567891011 ...). N) The value of mod m. "Recruit" Ljx thought, if M is 3, or 9, he will. But M can do anything, as long as it is less than INF. After the "appointment" of the various methods, the brain can't think out. So, right turned to (hehe) his (ZHU) teammates. But they had already run TAT. Jue Ruo LJX found you, he knelt and begged you to compile a program to help him solve the problem. Otherwise, he will "exercise" at the graduation ceremony and be qaq by the horrible swatch. |