摘要:
Finding LCMTime Limit:2000MSMemory Limit:32768KB64bit IO Format:%lld & %llu[Submit] [Go Back] [Status]DescriptionLCMis an abbreviation used forLeastCommonMultiple in Mathematics. We sayLCM (a, b, c) = Lif and only ifLis the least integer which is divisible bya, bandc.You will be givena, bandL. Y 阅读全文
摘要:
Dice (II)Time Limit:3000MSMemory Limit:32768KB64bit IO Format:%lld & %llu[Submit] [Go Back] [Status]DescriptionYou haveNdices; each of them hasKfaces numbered from1toK. Now you can arrange theNdices in a line. If the summation of the top faces of the dices isS, you calculate the score as the mul 阅读全文