- 博客(8)
- 收藏
- 关注
原创 779-B
Polycarp is crazy about round numbers. He especially likes the numbers divisible by 10k.In the given number of n Polycarp wants to remove the least number of digits to get a number that is divisib
2017-02-27 13:16:21 255
原创 768A
Oath of the Night's Watchtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output"Night gathers, and now my watch
2017-02-23 16:56:01 299
原创 766B-Mahmoud and a Triangle
Mahmoud and a Triangletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMahmoud has n line segments, the i-t
2017-02-22 21:43:12 327
原创 Ultra-QuickSort POJ - 2299 (树状数组)
Ultra-QuickSort POJ - 2299 树状数组模板题。思路:看此篇博文之前,你要对树状数组有所了解,这里树状数组求的也是和,并且因为更新多次,所以不用树状数组减少复杂度的话铁定超时,树状数组主要用于查询任意两位之间的所有元素之和,但是每次只能修改一个元素的值;经过简单修改可以在log(n)的复杂度下进行范围修改;而这道题意思是每一项之前有多少大于等于
2017-02-22 21:29:48 1410 3
原创 767A=Snacktower
Snacktowertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAccording to an old legeng, a long time ago Ankh
2017-02-22 20:53:10 366
原创 40A_Find Color
A. Find Colortime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNot so long ago as a result of combat operati
2017-02-22 19:45:05 342
原创 The Pilots Brothers' refrigerator
The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator.There are 16 handles on the refrigerator door. Every handle can be in one of two
2017-02-19 11:00:33 194
原创 Babelfish
You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you understand them.InputInpu
2017-02-19 08:53:39 391
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人