- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 uvaoj10474---详解细节(二分法)注意!
uvaoj 10474 这题呢,太水了...不过初学者可以练习一下。 题意:输入两组数据,一组数据有m个 一组有n个,找第二个数据每个数在第一个数据中(从小到大的排后)的位置 要求:1.数组足够大10000应该可以了 2.什么排序都可以,不会超时的 3.查找的时候,有人用二分法,其实我不太建议,直接顺序找就可以了,比如1,1,1,
2016-01-30 18:16:30 598
原创 uvaoj146 ID codes--详解
UvaOJ 146 ID Codes It is 2084 and the year of Big Brother has finally arrived, albeit a century late. In order to exercise greater control over its citizens and thereby to counter
2016-01-29 22:38:48 411
原创 uvaoj131 The Psychic Poker Player------醉人
uvaoj 131 131 - The Psychic Poker Player Time limit: 3.000 seconds In 5-card draw poker, a player is dealt a hand of five cards (which may be looked at). The player
2016-01-29 10:58:41 495
原创 uvaoj10167
Uvaoj 10167 birthday cake Lucy and Lily are twins. Today is their birthday. Mother buys a birthday cake for them. Now we put the cake onto a Descartes coordinate. Its center is at (0,0), and the
2016-01-27 18:10:29 507
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人