Description Luba needs your help again! Luba has n TV sets. She knows that i-th TV set will be working from moment of time li till moment ri, inclusiv ...
分类:
其他好文 时间:
2017-10-01 15:13:51
阅读次数:
205
0034的第一次作业 无序排列 最喜欢的歌: 安野希世乃—涙目爆発音 上原れな—After All~綴る想い~ 米澤円—届かない恋 May'n—ダイアモンド ワルキューレ—風は予告なく吹く 平野綾—God knows 有序排列 喜欢的歌手: ...
分类:
其他好文 时间:
2017-09-26 10:46:39
阅读次数:
132
Once in a forest, there lived N aggressive monkeys. At the beginning, they each does things in its own way and none of them knows each other. But monk ...
分类:
其他好文 时间:
2017-09-03 22:04:28
阅读次数:
153
Waking up in the morning, Apollinaria decided to bake cookies. To bake one cookie, she needs n ingredients, and for each ingredient she knows the valu ...
分类:
其他好文 时间:
2017-09-03 14:11:50
阅读次数:
243
The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because they become t ...
分类:
其他好文 时间:
2017-08-21 00:06:57
阅读次数:
233
CodeForces E. Lucky Array 幸运数列 Petya loves lucky numbers. Everybody knows that lucky numbers are positive integers whose decimal representation contai ...
分类:
其他好文 时间:
2017-08-19 18:31:03
阅读次数:
209
考察题意的理解和转化, 找到knows(候选人, i) 来传递候选人, 候选人谁也不知道. 最后确定是否是候选人, 因为前面的可能有人不知道他, 那么他就不是候选人 最佳做法:O(N)time, O(1)space The first pass is to pick out the candidat ...
分类:
其他好文 时间:
2017-08-14 14:27:00
阅读次数:
149
1647: [Usaco2007 Open]Fliptile 翻格子游戏 Description Farmer John knows that an intellectually satisfied cow is a happy cow who will give more milk. He has ...
分类:
其他好文 时间:
2017-08-02 19:52:11
阅读次数:
165
Description Farmer John knows that an intellectually satisfied cow is a happy cow who will give more milk. He has arranged a brainy activity for cows ...
分类:
其他好文 时间:
2017-08-02 19:12:01
阅读次数:
205
题目描述 Farmer John knows that an intellectually satisfied cow is a happy cow who will give more milk. He has arranged a brainy activity for cows in whic ...
分类:
其他好文 时间:
2017-08-02 19:07:38
阅读次数:
183