摘要:
The king is left alone on the chessboard. In spite of this loneliness, he doesn't lose heart, because he has business of national importance. For exam 阅读全文
摘要:
You have a positive integer m and a non-negative integer s. Your task is to find the smallest and the largest of the numbers that have length m and su 阅读全文
摘要:
本题地址 https://cn.vjudge.net/contest/302014#problem/L Median Time Limit: 1 Second Memory Limit: 65536 KB Recall the definition of the median of elements 阅读全文
摘要:
Wooden Sticks Problem Description There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be p 阅读全文
摘要:
D-div2是真水题,自己真菜哟。根据样例写了一下对应关系,就找到了一个规律,即不断更新最大值,若其与下标相等,ans++,就这样ac了;当然我必须要换个法子写,根据样例的规律写毕竟不怎么靠谱。 D-div2 Ivan recently bought a detective book. The bo 阅读全文