Little Vasya had n boxes with balls in the room. The boxes stood in a row and were numbered with numbers from 1 to n from left to right. Once Vasya ch ...
分类:
其他好文 时间:
2019-08-21 09:42:00
阅读次数:
71
思路 首先输入给定的数据, 并按照组成pair 对pair进行升序排序 根据贪心的规则 按照 n , n 1, ... , 1的顺序 构造答案序列 然后在pos 对应处依次填写 序列 n , n 1, ... , 1 Code c++ include using namespace std; con ...
分类:
其他好文 时间:
2019-08-17 18:04:01
阅读次数:
90
【课文】 we have an old musical instrument,It's called a clavichord, it was made in Germany in 1681.Our clacichord was kept in the living room, it has bel ...
分类:
其他好文 时间:
2019-08-16 00:34:03
阅读次数:
103
android-database-sqlcipher是基于SQLCipher的数据库加密框架,支持android4到android9,经常用来对android的SqlLite进行加密,现在支持Gradle集成,如果要支持androidx,可以使用Room框架,也可以配合原声的SQLiteOpenHe ...
分类:
移动开发 时间:
2019-08-15 19:09:52
阅读次数:
171
/* ES5使用class 继承 */ //方法对象 function Car(options){ this.title = options.title; } //开车 Car.prototype.drive = function(){ return "vromm" }; //实例化 const c... ...
分类:
其他好文 时间:
2019-08-04 19:26:35
阅读次数:
93
Red and Black Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 50913 Accepted: 27001 Description There is a rectangular room, covered with s ...
分类:
其他好文 时间:
2019-08-02 18:14:18
阅读次数:
105
There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he c ...
分类:
其他好文 时间:
2019-07-25 00:55:44
阅读次数:
150
Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From ...
分类:
其他好文 时间:
2019-07-16 20:05:48
阅读次数:
148
代码实现在tree-hole-room-messages这个滚动区域内下拉不会出现。 且可用滚动这个区域 ...
分类:
微信 时间:
2019-07-14 23:53:02
阅读次数:
910
E - Serge and Dining Room(线段树) CodeForces - 1180E 题意:给出a 和 b 数组,a为各种食物的价格,b为一列排着队的小朋友拥有的钱,小朋友排队购买食物,每个人都买自己能买的起的最贵的食物,买不起就离开队伍。给出q次操作,操作1是修改食物的价格,操作2是 ...
分类:
其他好文 时间:
2019-07-07 09:50:02
阅读次数:
182