![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
暴力
大白QQly成长日记
小白自远方来
展开
-
Aggressive cows(二分最大最小问题)
DescriptionFarmer 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...原创 2018-07-13 17:43:38 · 467 阅读 · 0 评论 -
HDU 6330 Visual Cube(模拟)
Problem DescriptionLittle Q likes solving math problems very much. Unluckily, however, he does not have good spatial ability. Everytime he meets a 3D geometry problem, he will struggle to draw a pic...原创 2018-07-31 11:37:09 · 188 阅读 · 0 评论 -
HDU 6341 Let Sudoku Rotate (DFS)
Sudoku is a logic-based, combinatorial number-placement puzzle, which is popular around the world.In this problem, let us focus on puzzles with 16×16 grids, which consist of 4×4 regions. The objectiv...原创 2018-08-02 09:52:32 · 728 阅读 · 4 评论 -
HDU 6351 Beautiful Now(暴力/搜索)
Problem DescriptionAnton has a positive integer n , however, it quite looks like a mess, so he wants to make it beautiful after k swaps of digits.Let the decimal representation of n as (x1x2⋯xm)10 ...原创 2018-08-07 10:37:32 · 370 阅读 · 0 评论 -
Decimal integer conversion(枚举)
描述 XiaoMing likes mathematics, and he is just learning how to convert numbers between differentbases , but he keeps making errors since he is only 6 years old. Whenever XiaoMing converts anumber to a...原创 2018-05-24 17:21:16 · 216 阅读 · 0 评论