自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 蓝桥杯 第n位小数

1.注意循环小数,如果中途t与a%b相同,则循环(会超时) 2.首先求余得余数t,这样才是小数的开始! 3.了解除法运算 #include <iostream> #include <cstring> #include <cmath> #include <algorithm> using namespace std; int main() { ...

2020-02-22 22:44:38 109

原创 蓝桥杯 分考场 涂色问题dfs

#include <iostream> #include <cstring> #include <cmath> #include <algorithm> using namespace std; int F[105][105];//互相认识的学生m,n,F[m][n]=F[n][m]值为1 int room[105][105];//room[i]...

2020-02-22 21:27:16 175

原创 蓝桥杯 阶乘计算

#include <iostream> #include <cstring> #define MAX 3000 using namespace std; long long A[MAX]; int cnt=1; void caculate(int n) { for(int i=0;i<cnt;i++) { A[i]*=n; ...

2020-02-09 15:06:44 204

原创 数据结构:中缀式转为后缀式

#include &lt;iostream&gt; #include &lt;cctype&gt; #include &lt;cstring&gt; using namespace std; template&lt;class ElemType&gt; class stack { private:     ElemType *base;   // 栈底指针     ElemType *top; ...

2018-11-18 03:05:51 151

空空如也

空空如也

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

TA关注的人

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