自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

不是很菜的菜鸟的博客

不是很菜的菜鸟的博客

  • 博客(12)
  • 收藏
  • 关注

原创 BFS c++

BFS 模板int BFS(Node root, Node target) { Queue<Node> queue; Set<Node> used; int step = 0; add root to queue; add root to used; while (queue is not empty) { step = step + 1; int size = queue.size(

2020-08-03 22:01:51 432

原创 java 出现Resource leak: ‘XXX‘ is never closed

java 出现Resource leak: 'XXX' is never closed

2020-07-11 22:15:05 613

原创 c helloworld

#include<stdio.h>int main(){ printf("helloworld");}

2020-07-06 12:28:49 141

原创 python helloworld

print("helloworld")

2020-07-06 12:26:55 161

原创 C++动态链接库DLL 2

C++动态链接库DLL part2第二部分

2020-07-03 20:29:25 214

原创 C++动态链接库DLL 1

DLL的创建和使用

2020-07-02 19:37:20 174

原创 c++ helloworld

#include<iostream>int main(){ std::cout<<"Hello world";}so easy

2020-06-27 12:26:18 170

原创 java helloworld

public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); }}so easy

2020-06-27 12:25:07 169 1

原创 C++ 生成随机数

1. rand()rand(产生随机数)int rand(void)头文件: #include<stdlib.h>函数说明 :因为rand() 的内部实现是用线性同余法做的,它不是真的随机数,只不过是因为其周期特别长,所以看成是随机的,rand() 会返回一随机数值,范围在 0 至 RAND_MAX 间。在调用此函数产生随机数前,必须先利用 srand()设置好随机数种子,如果未设随机数种子,rand()在调用时会自动设随机数种子为 1。rand()产生的是假随机数字,每次执行

2020-06-27 11:37:09 590

原创 c++函数,结构体,类的定义

函数定义返回值类型 函数名(参数1,参数2……){ /*code*/ return 返回值;}类/结构体定义struct/*class*/ 名称{ public://code private://code};

2020-06-27 10:13:04 648

原创 各语言Hello world

Javapublic class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); }}c++#include<iostream>int main(){ std::cout<<"Hello world";}c#include<stdio.h>int main(){ printf("He

2020-06-26 15:21:40 132

原创 C++ Template

template 的基础教程

2020-06-26 11:02:53 306 3

空空如也

空空如也

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

TA关注的人

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