自定义博客皮肤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)
  • 收藏
  • 关注

原创 最大子数组问题

寻找A的和最大的非空连续子数组 #include <iostream> #include <cstdio> #include <string> #include <algorithm> #include <vector> #include <math.h> #include <climits> using namespace std; //17 100 113 110 85 105 102 86 63 81 101

2021-05-01 09:42:08 56

原创 雨水问题 C/C++

也是前几天的调剂机试题,没写出来果然是因为考场太紧张了???? #include <iostream> #include <cstdio> #include <string> #include <algorithm> #include <vector> #include <math.h> using namespace std; int capacity_caculate(int *num, int start, int end

2021-04-19 16:32:19 218

原创 蛇形矩阵 C/C++

前几天南科大复试机式,遗憾没过,选择题目出现失误,最终50分,多个矩阵相乘哪一题我没有想出到底是哪个刁钻的矩阵卡了我,而南科大只有全部用例通过才有分数,因此机式没过。 第一题是蛇形矩阵,前天机式没有选这题,早知道选这题机式应该就能过关,今天思路+代码只花了23分钟,代码如下,矩阵大小可以自行修改。 #include <iostream> #include <cstdio> using namespace std; short status = 0; int matrix[1

2021-04-19 13:26:00 170

空空如也

空空如也

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

TA关注的人

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