摘要:
DescriptionPetya loves computer games. Finally a game that he’s been waiting for so long came out!The main character of this game... 阅读全文
摘要:
DescriptionGiven a n × n matrix A and a positive integer k, find the sum S=A+A2+A3+…+Ak.InputThe input contains exactly one test ... 阅读全文
摘要:
DescriptionIn the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn − 1 + Fn − 2 for n ≥ 2. For example, the first ten term... 阅读全文
摘要:
DescriptionAn important topic nowadays in computer science is cryptography. Some people even think that cryptography is the only ... 阅读全文
摘要:
DescriptionWhen a thin rod of length L is heated n degrees, it expands to a new length L’=(1+n*C)*L, where C is the coefficient o... 阅读全文
摘要:
DescriptionJosephina is a clever girl and addicted to Machine Learning recently. She pays much attention to a method called Line... 阅读全文