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

原创 解决“UserWarning: Matplotlib is currently using agg, which is a non-GUI backend....”

最近因为好奇python数据分析,就学习了matplotlib。但是在使用的时候出现了如下错误:UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure. plt.show()

2021-06-09 23:27:58 8861 13

原创 PHP 冒泡排序

<?php// 从大到小排序$num =array(4,10,1,2,3,7);$n = count($num);for($i=$n-1;$i>=0;$i--){ for($j=0;$j<$i;$j++){ if($num[$j]< $num[$j+1]){ $a = $num[$j+1]; ...

2018-09-07 15:59:12 150

原创 数据结构,,,复数的表示及加减运算

#include <stdio.h>#include <iostream>#include <algorithm>#include <math.h>#include <map>#include <string.h>#include <queue>const int N = 0x3f3f3f;us

2018-09-07 15:51:54 4358 3

原创 One-Two-Three

Your little brother has just learnt to write one, two and three, in English. He has written a lot of thosewords in a paper, your task is to recognize them. Note that your little brother is only a chi...

2018-04-06 09:51:48 384

原创 通信系统

http://codeup.cn/problem.php?id=1106感觉这道题有点坑,wa了两发才想起来忘记考虑环,增加了对环的判断就A了。#include #include #include #include #include #include #include #include #include #include using namespace

2018-01-10 10:44:27 505

原创 c语言利用指针求一组数的最大值,最小值。平均值

最近一直在学算法,c语言的指针在算法中用的不多,所以就没怎么学,直到后来帮我同学做课程设计的时候,才学了一段时间,为了防止过段时间忘了指针,所以就把课程设计保存下来,以后忘了还可以看看这个回忆一下指针。#include <stdio.h>int main(){ int i,sum,a[30],b,flag; double q; int *max1,*...

2018-01-06 18:04:25 22574 1

转载 阶乘因式分解(1)

先输入a=100,b=5;a!=1*2*3*.....99*100;a/b是5,10,15...95,100中b的个数,存在flag中,再一次a/b是因为25,50,75,100,中有两个b;如果还有就需要再次a/b;最后输出flag的值;代码如下:#include #include #include #include using namespace st

2017-11-17 19:20:12 215

空空如也

空空如也

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

TA关注的人

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