首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
redoCxz
获赞
136
粉丝
2
关注
0
看过 TA
257
女
钢铁研究总院
2021
Java
IP属地:浙江
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑redoCxz吗?
发布(391)
评论
刷题
收藏
redoCxz
关注TA,不错过内容更新
关注
2021-04-05 14:05
已编辑
钢铁研究总院 Java
poj3281——Dining
Cows are such finicky eaters. Each cow has a preference for certain foods and drinks, and she will consume no others. Farmer John has cooked fabulous meals for his cows, but he forgot to check his menu against their preferences. Although he might not be able to stuff everybody, he wants to give a c...
0
点赞
评论
收藏
分享
2021-04-05 14:05
已编辑
钢铁研究总院 Java
hdu1533——Going Home
On a grid map there are n little men and n houses. In each unit time, every little man can move one unit step, either horizontally, or vertically, to an adjacent point. For each little man, you need to pay a $1 travel fee for every step he moves, until he enters a house. The task is complicated with...
0
点赞
评论
收藏
分享
2021-04-05 14:04
钢铁研究总院 Java
hdu1176——免费馅饼
都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼。说来gameboy的人品实在是太好了,这馅饼别处都不掉,就掉落在他身旁的10米范围内。馅饼如果掉在了地上当然就不能吃了,所以gameboy马上卸下身上的背包去接。但由于小径两侧都不能站人,所以他只能在小径上接。由于gameboy平时老呆在房间里玩游戏,虽然在游戏中是个身手敏捷的高手,但在现实中运动神经特别迟钝,每秒种只有在移动不超过一米的范围内接住坠落的馅饼。现在给这条小径如图标上坐标: 为了使问题简化,假设在接下来的一段时间里,馅饼都掉落在0-10这11个位置。开始时gameboy站在5这个位置,因此...
0
点赞
评论
收藏
分享
2021-04-05 14:04
钢铁研究总院 Java
hdu2524——矩形A + B
给你一个高为n ,宽为m列的网格,计算出这个网格中有多少个矩形,下图为高为2,宽为4的网格. Input 第一行输入一个t, 表示有t组数据,然后每行输入n,m,分别表示网格的高和宽 ( n < 100 , m < 100). Output 每行输出网格中有多少个矩形. Sample Input 2 1 2 2 4 Sample Output 3 30 搜到一个很厉害的题解 n高的矩形有n+1条线 m宽的矩形有m+1条线 每两条横着的线和每两条竖着的线交叉就形成矩形 因此答案为 C(m+1,2)*C(n+1,2) Niubi 代码: #includ...
0
点赞
评论
收藏
分享
2021-04-05 14:04
已编辑
钢铁研究总院 Java
Codeforces994B——Knights of a Polygonal Table
Unlike Knights of a Round Table, Knights of a Polygonal Table deprived of nobility and happy to kill each other. But each knight has some power and a knight can kill another knight if and only if his power is greater than the power of victim. However, even such a knight will torment his conscience, ...
0
点赞
评论
收藏
分享
2021-04-05 14:03
钢铁研究总院 Java
Codeforces992B——Nastya Studies Informatics
Today on Informatics class Nastya learned about GCD and LCM (see links below). Nastya is very intelligent, so she solved all the tasks momentarily and now suggests you to solve one of them as well. We define a pair of integers (a, b) good, if GCD(a, b) = x and LCM(a, b) = y, where GCD(a, b) denotes...
0
点赞
评论
收藏
分享
2021-04-05 14:03
已编辑
钢铁研究总院 Java
Codeforces992C——Nastya and a Wardrobe
Nastya received a gift on New Year — a magic wardrobe. It is magic because in the end of each month the number of dresses in it doubles (i.e. the number of dresses becomes twice as large as it is in the beginning of the month). Unfortunately, right after the doubling the wardrobe eats one of the dr...
0
点赞
评论
收藏
分享
2021-04-05 14:03
钢铁研究总院 Java
Codeforces992D——Nastya and a Game
Nastya received one more array on her birthday, this array can be used to play a traditional Byteland game on it. However, to play the game the players should first select such a subsegment of the array that , where p is the product of all integers on the given array, s is their sum, and k is a give...
0
点赞
评论
收藏
分享
2021-04-05 14:02
钢铁研究总院 Java
hdu1214——圆桌会议
HDU ACM集训队的队员在暑假集训时经常要讨论自己在做题中遇到的问题.每当面临自己解决不了的问题时,他们就会围坐在一张圆形的桌子旁进行交流,经过大家的讨论后一般没有解决不了的问题,这也只有HDU ACM集训队特有的圆桌会议,有一天你也可以进来体会一下哦:),在一天在讨论的时候,Eddy想出了一个极为古怪的想法,如果他们在每一分钟内,一对相邻的两个ACM队员交换一下位子,那么要多少时间才能得到与原始状态相反的座位顺序呢?(即对于每个队员,原先在他左面的队员后来在他右面,原先在他右面的队员在他左面),这当然难不倒其他的聪明的其他队友们,马上就把这个古怪的问题给解决了,你知道是怎么解决的吗? I...
0
点赞
评论
收藏
分享
2021-04-05 14:02
已编辑
钢铁研究总院 Java
poj1061——青蛙的约会
两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为止。可是它们出发之前忘记了一件很重要的事情,既没有问清楚对方的特征,也没有约定见面的具***置。不过青蛙们都是很乐观的,它们觉得只要一直朝着某个方向跳下去,总能碰到对方的。但是除非这两只青蛙在同一时间跳到同一点上,不然是永远都不可能碰面的。为了帮助这两只乐观的青蛙,你被要求写一个程序来判断这两只青蛙是否能够碰面,会在什么时候碰面。 我们把这两只青蛙分别叫做青蛙A和青蛙B,并且规定纬度线上东经0度处为原点,由东往西为正方向,单位长度1米,这样我们就得到了一条首...
0
点赞
评论
收藏
分享
2021-04-05 14:01
钢铁研究总院 Java
hdu2842——Chinese Rings
Dumbear likes to play the Chinese Rings (Baguenaudier). It’s a game played with nine rings on a bar. The rules of this game are very simple: At first, the nine rings are all on the bar. The first ring can be taken off or taken on with one step. If the first k rings are all off and the (k + 1)th ri...
0
点赞
评论
收藏
分享
2021-04-05 14:01
已编辑
钢铁研究总院 Java
Wannafly挑战赛23A——字符串
链接:https://www.nowcoder.com/acm/contest/161/A 来源:牛客网 题目描述 小N现在有一个字符串S。他把这这个字符串的所有子串都挑了出来。一个S的子串T是合法的,当且仅当T中包含了所有的小写字母。小N希望知道所有的合法的S的子串中,长度最短是多少。 输入描述: 一行一个字符串S。只包含小写字母。S的长度不超过106. 输出描述: 一行一个数字,代表最短长度。数据保证存在一个合法的S的子串。 示例1 输入 复制 ykjygvedtysvyymzfizzwkjamefxjnrnphqwnfhrnbhwjhqcgqnplodeestu ...
0
点赞
评论
收藏
分享
2021-04-05 14:01
已编辑
钢铁研究总院 Java
hdu6030——Happy Necklace
Little Q wants to buy a necklace for his girlfriend. Necklaces are single strings composed of multiple red and blue beads. Little Q desperately wants to impress his girlfriend, he knows that she will like the necklace only if for every prime length continuous subsequence in the necklace, the number...
0
点赞
评论
收藏
分享
2021-04-05 14:00
钢铁研究总院 Java
hdu5950——Recursive sequence
Farmer John likes to play mathematics games with his N cows. Recently, they are attracted by recursive sequences. In each turn, the cows would stand in a line, while John writes two positive numbers a and b on a blackboard. And then, the cows would say their identity number one by one. The first cow...
0
点赞
评论
收藏
分享
2021-04-05 14:00
已编辑
钢铁研究总院 Java
hdu5695——Gym Class
众所周知,度度熊喜欢各类体育活动。 今天,它终于当上了梦寐以求的体育课老师。第一次课上,它发现一个有趣的事情。在上课之前,所有同学要排成一列, 假设最开始每个人有一个唯一的ID,从1到N,在排好队之后,每个同学会找出包括自己在内的前方所有同学的最小ID,作为自己评价这堂课的分数。麻烦的是,有一些同学不希望某个(些)同学排在他(她)前面,在满足这个前提的情况下,新晋体育课老师——度度熊,希望最后的排队结果可以使得所有同学的评价分数和最大。 Input 第一行一个整数T,表示T(1≤T≤30) 组数据。 对于每组数据,第一行输入两个整数N和M(1≤N≤100000,0≤M≤100000),...
0
点赞
评论
收藏
分享
1
9
10
11
12
13
27
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客企业服务