自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 Java简易计算器的实现

import java.util.Scanner; public class computer { public static void main(String[] args) { Scanner scanner=new Scanner(System.in); double num1,num2; while(true) { System.out.println("继续使用计算器请输入Y,退出计算器请输入Q!".

2022-01-21 20:24:04 269

原创 POJ 2253 Frogger(dijkstra最短路)

Frogger Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to visit her, but since the water is dirty and full of touri...

2019-08-20 14:32:30 124

原创 HDU 1253 胜利大逃亡(广搜)

胜利大逃亡 Problem Description Ignatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会. 魔王住在一个城堡里,城堡是一个ABC的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-1)的位置,现在知道魔王将在T分钟后回到城堡,Ignatius每分钟能从一个坐标走到相邻的六个坐标...

2019-08-20 14:20:11 134

原创 POJ 3259 Wormholes (Bellman-Ford算法判断负权回路)

F - Wormholes While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one-way path that delivers you to its destination at...

2019-08-11 17:07:37 150

原创 POJ 1976 A Mini Locomotive(01背包)

A Mini Locomotive Description A train has a locomotive that pulls the train with its many passenger coaches. If the locomotive breaks down, there is no way to pull the train. Therefore, the office of ...

2019-08-11 16:15:49 100

原创 POJ 2236 Wireless Network(并查集)

D - Wireless Network Description An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap computers, but an unexpected aftershoc...

2019-08-07 17:48:43 84

原创 POJ 2387 Til the Cows Come Home(Dijkdtra单源最短路)

Til the Cows Come Home Description Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Bessie needs her ...

2019-07-31 16:45:05 171

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除