__Serendipity__s
__Serendipity__s
全部文章
题解
归档
标签
去牛客网
登录
/
注册
__Serendipity__s的博客
全部文章
/ 题解
(共23篇)
F - Oil Deposits HDU - 1241
2-Day1-FThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular re...
2021-08-31
0
483
E - A计划 HDU - 2102
2-Day1-E可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信谣言说吃公主的肉也能长生不老。年迈的国王正是心急如焚,告招天下勇士来拯救公主。不过公主早已习以为常,她深信智勇的骑士LJ肯定能将她救出。现据密探所...
2021-08-31
0
416
D - Amazing Mazes Aizu - 1166
2-Day1-DProblem B:You are requested to solve maze problems. Without passing through these mazes, you might not be able to pass through the domestic co...
2021-08-31
0
450
C - 非常可乐 HDU - 1495
2-Day1-C大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只有两个杯子,它们的容量分别是N 毫升和M 毫升 可乐的体积为S (S&...
2021-08-31
0
437
B - Depth First Search Aizu - ALDS1_11_B
2-Day1-BDepth-first search (DFS) follows the strategy to search ”deeper” in the graph whenever possible. In DFS, edges are recursively explored out of...
2021-08-31
0
394
A - Breadth First Search Aizu - ALDS1_11_C
2-Day1—AWrite a program which reads an directed graph , and finds the shortest distance from vertex to each vertex (the number of edges in the shorte...
2021-08-31
0
448
G - 迷宫问题 OpenJ_Bailian - 4127
Day3—G定义一个二维数组:int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, }; 它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能横着走或竖着走,不能...
2021-08-31
0
421
F - Black Box POJ - 1442
Day3—FOur Black Box represents a primitive database. It can save an integer array and has a special i variable. At the initial moment Black Box is emp...
2021-08-31
0
630
E - Fence Repair POJ - 3253
Day3—EFarmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needs N (1 ≤ N ≤ 20,000) pla...
2021-08-31
0
371
D - Anagram POJ - 1256
Day3—DYou are to write a program that has to generate all possible words from a given set of letters.Example: Given the word "abc", your pro...
2021-08-31
0
472
首页
上一页
1
2
3
下一页
末页