摘要: At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is the place wher 阅读全文
posted @ 2020-07-24 21:25 夜灯长明 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 题意:给你一个长度为N节的金属钩子,钩子分为铜,银,金三种。 铜为1,银为2,金为3; 一开始都是铜钩子,经过q次变化后,问N节钩子的数目之和。 #define _CRT_SECURE_NO_WARNINGS #include<iostream> #include<cstring> #include 阅读全文
posted @ 2020-07-24 19:39 夜灯长明 阅读(81) 评论(0) 推荐(0) 编辑