摘要:
Maximum Multiple Problem DescriptionGiven an integer n, Chiaki would like to find three positive integers x, y and z such that: n=x+y+z, x∣n, y∣n, z∣n 阅读全文
摘要:
B:Battle Royale Battle Royale games are the current trend in video games and Gamers Concealed Punching Circles (GCPC) is the most popular game of them 阅读全文
摘要:
Vitaly works at the warehouse. The warehouse can be represented as a grid of n × m cells, each of which either is free or is occupied by a container. 阅读全文
摘要:
Problem Description Claire and her little friend, ykwd, are travelling in Shevchenko's Park! The park is beautiful - but large, indeed. N feature spot 阅读全文
摘要:
树上面最长简单路(无环),就是树的直径问题 解决办法 一开始任取一个点u进行搜索查找出距离点u最远距离的点v和长度 第二次dfs则从第一次中的v找出距离点v最远距离的点的路径长度 Cow Marathon Description After hearing about the epidemic of 阅读全文
摘要:
Since Sonya has just learned the basics of matrices, she decided to play with them a little bit. Sonya imagined a new type of matrices that she called 阅读全文
摘要:
Divisions David is a young boy and he loves numbers. Recently he learned how to divide two numbers.David divides the whole day. He is happy if the res 阅读全文
摘要:
D:Lift Problems On the ground floor (floor zero) of a large university building a number of students are wait- ing for a lift. Normally, the lift stop 阅读全文