相关文章
CF1129A2 Toy Train
当一个车站如果有最多的糖果数x,那么跑x-1圈就能让前面x-1个糖果放到相应的地方,如果想让这时候跑的站数最少,那么最后一个应该放最近的糖果。
如果当前这个车站a并不是最多的糖果数,但是要跑的最少站数取决于拥有最多糖果数的站…
建站知识
2025/2/6 1:54:14
CF12B Correct Solution?
题目描述
One cold winter evening Alice and her older brother Bob was sitting at home near the fireplace and giving each other interesting problems to solve. When it was Alices turn, she told the number nn to Bob and said:
—Shuffle the digits in this num…
建站知识
2024/11/26 14:30:35