自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 PAT甲级03-树2 List Leaves (25 分)

 03-树2 List Leaves (25 分)Given a tree, you are supposed to list all the leaves in the order of top down, and left to right.Input Specification:Each input file contains one test case. For each ...

2018-11-20 17:09:27 145

原创 PAT练习题

1001 A+B Format (20)(20 分)Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).Inp...

2018-07-24 10:46:05 1312

原创 用回溯法解决圆排列问题

教材是用的王晓东的《计算机算法设计与实现》第四版,c++版一下是问题描述:算法实现:/***能确定一个正确的想法(即每种情况都能考虑到,然后找一个最简单而准确的方式表达出来) ***/ #include<iostream>//此问题没有要求相邻的圆必须相切 #include<math.h>using namespace std;class Circle{ friend fl...

2018-06-29 11:45:43 3877 6

空空如也

空空如也

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

TA关注的人

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