随笔分类 -  题库—HDOJ

摘要:Problem Description Let's define the sum of all digits in x as g(x). For example, g(123)=1+2+3=6. Give you a function: f(x)=Ax2g(x)+Bx2+Cxg2(x)+Dxg(x) 阅读全文
posted @ 2021-08-28 21:58 脂环 阅读(180) 评论(0) 推荐(1) 编辑
摘要:Problem Description You are required to put n straight lines on a plane, guaranteeing no three lines share a common point and no lines are coincident. 阅读全文
posted @ 2021-08-20 01:43 脂环 阅读(322) 评论(1) 推荐(1) 编辑
摘要:Problem Description TI10 and ICPC World Finals 2020, which will be held earlier? Take a bet! The International(TI) is the biggest and most prestigious 阅读全文
posted @ 2021-08-18 01:53 脂环 阅读(139) 评论(0) 推荐(1) 编辑
摘要:Problem Description As an elegant and accomplished girl, Bella loves watching stars at night (especially the Polaris). There are totally n stars in th 阅读全文
posted @ 2021-08-13 21:08 脂环 阅读(112) 评论(2) 推荐(0) 编辑
摘要:Problem Description Bob accidentally spilled some drops of ink on the paper. The initial position of the i-th drop of ink is (xi,yi), which expands ou 阅读全文
posted @ 2021-08-12 20:56 脂环 阅读(275) 评论(0) 推荐(0) 编辑
摘要:Problem Description Alice and Bob are playing a game. They take turns to operate. There are n numbers, a1 , a2 , ... , an. Every time, the player play 阅读全文
posted @ 2021-08-12 17:45 脂环 阅读(218) 评论(0) 推荐(0) 编辑
摘要:Problem Description Eric is playing a game on an infinite plane. On the plane, there is a circular area with radius r1 called the Scoring Area. Every 阅读全文
posted @ 2021-08-12 17:23 脂环 阅读(171) 评论(0) 推荐(0) 编辑
摘要:Problem Description 给定一张 n×nn×n 的网格图,有些格子能走,有些格子不能走,左上角的格子坐标为 (1,1)(1,1),右下角的格子坐标为 (n,n)(n,n)。 问最多可以找到多少条从 (1,1)(1,1) 到 (n,n)(n,n) 的不相交路径,使得每条路径经过的每个格 阅读全文
posted @ 2021-08-07 17:25 脂环 阅读(287) 评论(0) 推荐(0) 编辑
摘要:Banzhuan *Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 102 Accepted Submission(s): 36 * Pro 阅读全文
posted @ 2021-08-03 20:11 脂环 阅读(191) 评论(1) 推荐(1) 编辑
摘要:Problem Description One day, a zombie came to the Lawn of the Dead, which can be seen as an n×m grid. Initially, he stood on the top-left cell, which 阅读全文
posted @ 2021-07-30 21:55 脂环 阅读(210) 评论(5) 推荐(2) 编辑
摘要:Problem Description Little Rabbit is a college student who is studying Communication Engineering. In this term, he has a course called Digital Image P 阅读全文
posted @ 2021-07-29 17:41 脂环 阅读(152) 评论(0) 推荐(0) 编辑
摘要:Problem Description This summer, ZXyang became so tired when doing the problems of Multi-University contests. So he decided to attend the Unified Nati 阅读全文
posted @ 2021-07-29 17:13 脂环 阅读(93) 评论(0) 推荐(0) 编辑
摘要:Problem Description Pixels in a digital picture can be represented with three integers (R,G,B) in the range 0 to 255 that indicate the intensity of th 阅读全文
posted @ 2021-07-27 23:36 脂环 阅读(129) 评论(0) 推荐(0) 编辑
摘要:Problem Description Alice and Bob are playing a game. In this game, there are n straight lines on the 2D plane. Alice will select exactly k straight l 阅读全文
posted @ 2021-07-27 23:28 脂环 阅读(130) 评论(0) 推荐(0) 编辑
摘要:Problem Description Chenjb is struggling with data stucture now. He is trying to solve a problem using segment tree. Chenjb is a freshman in programmi 阅读全文
posted @ 2021-07-27 23:16 脂环 阅读(97) 评论(0) 推荐(0) 编辑
摘要:Problem Description Give you a cube with a side length of n-1. Find the number of equilateral triangles with three points on the cube point. Each side 阅读全文
posted @ 2021-07-23 10:42 脂环 阅读(320) 评论(0) 推荐(0) 编辑
摘要:Problem Description Given a sequence of integers of length n, find the shortest consecutive subsequence witch XOR sum not less than k. If there are mu 阅读全文
posted @ 2021-07-21 16:22 脂环 阅读(564) 评论(6) 推荐(2) 编辑
摘要:Problem Description Let’s call a weighted connected undirected graph of n vertices and m edges KD-Graph, if the following conditions fulfill: * n vert 阅读全文
posted @ 2021-07-20 21:01 脂环 阅读(493) 评论(4) 推荐(2) 编辑
摘要:Problem Description Given n-1 points, numbered from 2 to n, the edge weight between the two points a and b is lcm(a, b). Please find the minimum spann 阅读全文
posted @ 2021-07-20 18:36 脂环 阅读(497) 评论(0) 推荐(0) 编辑
摘要:Problem Description Given a matrix of n rows and m columns,find the largest area submatrix which is non decreasing on each column Input The first line 阅读全文
posted @ 2021-07-20 18:29 脂环 阅读(164) 评论(2) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩