自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 结构体的重构

#include using namespace std; struct node{ int a,b; node()//赋初值 { a=2; b=3; } /* int fun(int x,int y){ return a+b+x+y; }*/ /* int fun(int x) {

2017-07-21 21:29:46 1083

原创 大数相减

#include #include #include #include using namespace std; int main() { string a,b; int n; cin>>n; while(n--) { cin>>a>>b; int jh=0; if(a.size()<b.size()) { swap(a,b); jh=1; }

2017-07-09 14:45:32 209

原创 大数相乘

#include #include #include #include using namespace std; int main() { string a,b; int n; cin>>n; for(int g=1;g<=n;g++) { cin>>a>>b; int c[1005]={0}; for(int i=a.size()-1,p=0;i>=

2017-07-09 14:42:23 205

原创 大数相加

#include #include using namespace std; int main() { string a,b; int n; cin>>n; for(int g=1;g<=n;g++) { cin>>a>>b; int c[1005],f=0,k=0; char a1,b1; for(int i=a.size()-1,j=b.siz

2017-07-09 14:29:01 216

原创 信道安全

【信道安全】---&gt;邻接表法#include &lt;iostream&gt; #include &lt;algorithm&gt; #include &lt;map&gt; #include &lt;cstring&gt; #include &lt;vector&gt; #include &lt;cmath&gt; using namespace std; struct node { i...

2017-07-09 11:13:22 292

原创 测sort与qsort耗时

//测试sort与qsort耗时 #include #include #include #include using namespace std; int cmp( const void *a , const void *b ) { int *c=(int *)a; //(int*)是强制类型转换 int *d=(int *)b; return *c-*d;

2017-07-09 11:09:35 514

Bandicm(班迪录屏)录屏软件绿色解压版

Bandicam(班迪录屏)简单好用的录屏幕,录游戏,录视频的功能强大的屏幕录像软件,比起其他软件其性能更加卓越。 与其他软件相比,用Bandicam录制的视频大小更小, 不仅保证原文件的质量。还能够永久使用无功能限制的完整版。

2019-02-23

滑动拼图验证

插件描述:实现滑动图片验证的JS插件 使用方法: 引入jigsaw.js 和 jigsaw.css &lt;link rel="stylesheet" href="jigsaw.css"&gt; [removed][removed] 1 jigsaw.init(element[, success][, fail]) jigsaw.init接收三个参数,第一个参数为页面容器元素, 第二和第三个参数分别为验证成功和失败的回调函数。 特性: 图片由 https://picsum.photos/ 随机产生,然后使用canvas裁剪生成。 未编译ES6语法,建议使用现代浏览器体验。

2018-07-24

Markdown在线编辑器

插件描述:Editor.md 是一款可嵌入的 Markdown 在线编辑器(组件),基于 CodeMirror、jQuery 和 Marked 构建。 Editor.md 前端引用css: &lt;link rel="stylesheet" href="css/editormd.css" /&gt; html文本框设置: &lt;textarea name="content" &lt;/div> 前端引用js: [removed][removed] 引用代码片段: 27 var testEditor; $(function() { $.get("examples/test.md", function(md){ testEditor = editormd("test-editormd", { width: "98%", height: 730, path : 'lib/', markdown : md, codeFold : true, saveHTMLToTextarea : true, searchReplace : true, htmlDecode : "style,script,iframe|on*", emoji : true, taskList : true, tocm : true, // Using [TOCM] tex : true, // 开启科学公式TeX语言支持,默认关闭 flowChart : true, // 开启流程图支持,默认关闭 sequenceDiagram : true, // 开启时序/序列图支持,默认关闭, imageUpload : true, imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp"], imageUploadURL : "examples/php/upload.php", onload : function() { console.log('onload', this); } }); }); }) 读取markdown显示引入css文件: 1 &lt;link rel="stylesheet" href="css/editormd.css" /&gt; 读取markdown显示html实例: &lt;textarea name="editormd-markdown-doc"&gt;这里写入md格式内容&lt;/textarea&gt; 读取markdown显示前端js调用

2018-07-24

空空如也

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

TA关注的人

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