
素数筛
fantaticmen
如果有讲的不详细的或者错误的可以加鹅细聊+934591874
展开
-
poj 2456 二分
Farmer John has built a new long barn, with N (2 <= N <= 100,000) stalls. The stalls are located along a straight line at positions x1,…,xN (0 <= xi <= 1,000,000,000).His C (2 <= C <= N) cows don’t lik原创 2017-07-30 14:10:29 · 921 阅读 · 0 评论 -
poj 3320 尺取法
Jessica’s a very lovely girl wooed by lots of boys. Recently she has a problem. The final exam is coming, yet she has spent little time on it. If she wants to pass it, she has to master all ideas inclu原创 2017-07-30 14:11:55 · 355 阅读 · 0 评论 -
zoj 2724 优先队列
Message queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If something happens to this process, such as mouse click, text change, the system will原创 2017-07-30 14:12:48 · 454 阅读 · 0 评论 -
hdu 4006 优先队列
Xiao Ming and Xiao Bao are playing a simple Numbers game. In a round Xiao Ming can choose to write down a number, or ask Xiao Bao what the kth great number is. Because the number written by Xiao Ming i原创 2017-07-30 14:13:43 · 477 阅读 · 0 评论