![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
2019年“浪潮杯”第十届山东省ACM程序设计竞赛
aaHua_
ACM小弱鸡,在读研究生,主要研究推荐系统方向。已毕业,江湖再见!!!
展开
-
L - Median
OutputFor each test case output one line containing one string of length . If it is possible to assign values to each element so that all the relations are satisfied and the -th element is the media...原创 2019-05-20 20:31:49 · 352 阅读 · 0 评论 -
K - Happy Equation
Little Sub has just received an equation, which is shown below, as his birthday gift.Given the value of , please help Little Sub count the number of x(1<=x<=2^p)which satisfies the equation....原创 2019-05-18 16:58:01 · 554 阅读 · 0 评论 -
H - Tokens on the Segments
OutputFor each test case output one line containing one integer, indicating the maximum possible number of segments that have at least one token on each of them.Sample Input231 21 12 331 21...原创 2019-05-18 18:56:37 · 682 阅读 · 1 评论 -
M - Sekiro
Sample Input410 17 110 27 2Sample Output5432HintFor the third sample test case, when BaoBao dies for the first time, the money he carries will be reduced from 10 to 5; When he dies for t...原创 2019-05-18 19:05:46 · 316 阅读 · 0 评论 -
A - Calandar
OutputFor each test case output one line containing one string, indicating the day of the -th day in the -th month of year on that planet.Sample Input42019 5 12 Monday2019 5 142019 5 12 Tuesda...原创 2019-05-18 19:18:59 · 582 阅读 · 0 评论 -
C - Wandering Robot
Sample Input23 3RUL1 1000000000DSample Output41000000000HintFor the first sample test case, the final instruction sequence is “RULRULRUL” and the route of the robot is (0, 0) - (1, 0) - (1...原创 2019-05-18 19:26:18 · 324 阅读 · 0 评论 -
D - Game on a Graph
OutputFor each test case output one line containing one integer. If the 1st group wins, output “1” (without quotes); If the 2nd group wins, output “2” (without quotes).Sample Input35112124 60 ...原创 2019-05-18 19:35:01 · 302 阅读 · 0 评论 -
F - Stones in the Bucket
OutputFor each test case output one line containing one integer, indicating the minimum number of times needed to make all the buckets contain the same number of stones.Sample Input431 1 042 2...原创 2019-05-18 19:49:46 · 495 阅读 · 0 评论