自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 各种排序不同数据情况下性能比较(冒泡、插入、选择、希尔、归并、堆排、快排、基数排序)

各种排序随打

2022-06-20 23:28:47 2834

原创 <POJ 1001> Exponentiation

POJ 1001

2022-06-04 20:33:02 162

原创 PAT (Basic Level) Practice (中文)1058 选择题

PAT (Basic Level) Practice (中文) 1058

2022-06-02 23:38:58 125

原创 UVa 400 Unix 命令

Uva 400

2022-05-30 14:09:49 124

原创 关于优先队列priority_queue及其简单应用UVa 136

优先队列与仿函数

2022-05-30 09:22:06 165

原创 UVa 540 STL队列queue的简单应用

UVa 540

2022-05-29 21:23:21 86

原创 Extraordinarily Tired Students <UVa 12108>

Uva 12108

2022-05-29 11:51:35 103

原创 UVa 815 Flooded

Uva 815 实现记录

2022-05-29 00:55:25 104

原创 Uva 201 Squres

Uva 201 简单实现

2022-05-28 21:07:17 134

原创 PAT (Basic Level) Practice (中文)1103 缘分数

#include<iostream> #include<cmath> #include<stack> using namespace std; // 记录答案 struct solution { int a, b; solution(int a1, int b1) :a(a1), b(b1) {}; friend ostream& operator<<(ostream& out, const solution&...

2022-05-26 20:59:12 134

原创 PAT (Basic Level) Practice (中文) 1064 朋友数

map<long, int> company; // 记录种类 map自动实现排序 void deal(const string& num) { long sum = 0; for (int i = 0; i < num.size(); i++)sum += num[i] - '0'; if (company.find(sum) != company.end()) company[sum]++; else company.insert({ sum,1 }); } i.

2022-05-24 17:03:30 145

原创 < POJ 1002 : 方便记忆的电话号码>

#include<iostream> #include<string> #include<map> #include<ctype.h> using namespace std; int main() { map<char, char>phonenumber{ {'a','2'},{'b','2'},{'c','2'} ,{'d','3'},{'e','3'},{'f','3'},{'g','4'},{'h','4'}, {'i','4'},.

2022-05-17 14:22:44 267

原创 <POJ 1005 I Think I Need a Houseboat >

#include<iostream> #include<cmath> using namespace std; int main() { const double pai = 3.1415926; int n; cin >> n; for (int Z = 1; Z <= n; Z++) { long squre = 50; int N = 1; double R = sqrt(2 * squre / pai); double X, Y; c.

2022-05-17 13:25:39 96

原创 用Vector数组的value递归建立二叉树

通过递归建立树

2022-05-08 09:29:47 520

空空如也

空空如也

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

TA关注的人

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