吐槽 最后的BFS和DFS了,做完这个开始搞模拟!!! DFS 注意检查的是新坐标!!! 1 #include<bits/stdc++.h> 2 using namespace std; 3 int sx,sy,ex,ey; 4 int maps[6][6]; 5 int dir[4][2]={ 6 ...
分类:
其他好文 时间:
2021-04-08 13:47:42
阅读次数:
0
一、词频统计: 1.读文本文件生成RDD lines 2.将一行一行的文本分割成单词 words flatmap() 3.全部转换为小写 lower() 4.去掉长度小于3的单词 filter() 5.去掉停用词 6.转换成键值对 map() 7.统计词频 reduceByKey() 二、学生课程分 ...
分类:
其他好文 时间:
2021-04-08 13:42:37
阅读次数:
0
1.bss:未初始化区域,bss空间都初始化为零, 字符串只读区在.data区 free当进入主函数开始,主函数结束完毕 struct Student * sp2 = (struct Student*)malloc(sizeof(*sp2)); struct Student * sp3 = (str ...
分类:
编程语言 时间:
2021-04-08 13:42:23
阅读次数:
0
DAOS 通过两个紧密集成的平面进行运转。数据平面处理繁重的运输操作,而控制平面负责进程编排和存储管理,简化数据平面的操作。 ...
分类:
其他好文 时间:
2021-04-08 13:22:04
阅读次数:
0
1、安装 axios npm install axios --save 2、在src目录里新建目录结构 index.js内容 // // axios封装// //1.引入axiosimport axios from 'axios'import { addPending, removePending ...
分类:
移动开发 时间:
2021-04-08 13:18:52
阅读次数:
0
在线调试地址: Graphviz Online 用法: dot语法 Linux环境下用法: 参考资料: 1. Linux绘图工具之dot 2. 实验: 首先创建一个dot文件,fllow.dot vi fllow.dot digraph G { hello [shape=box]; world [s ...
分类:
其他好文 时间:
2021-04-08 13:10:42
阅读次数:
0
一、基本用法 1.添加jar包 mybatis-3.2.8.jar mysql-connector-java-5.1.7-bin.jar 添加配置文件 datasource.properties 1 jdbc.driverClassName=com.mysql.jdbc.Driver 2 jdbc. ...
分类:
其他好文 时间:
2021-04-08 13:08:04
阅读次数:
0
#序列化容器 以线性排列(类似普通数组的存储方式)来存储某一指定类型(例如 int、double 等)的数据。需要特殊说明的是,该类容器并不会自动对存储的元素按照值的大小进行排序。 STL提供了vector,list,deque,stack,queue,priority-queue。其中stack, ...
分类:
其他好文 时间:
2021-04-08 13:03:24
阅读次数:
0
Go入门(8)——循环迭代 使用range关键字来遍历list、array或者map。range可以理解为“for each index of”。对于array或者slices,将会返回整型的下标;对于map,将会返回键值对的键。range支持返回单个值或者两个值。如果返回单个值,则为下标;否则为下 ...
分类:
其他好文 时间:
2021-04-07 11:38:31
阅读次数:
0
#include<bits/stdc++.h>using namespace std;int maze [5][5] = {0, 1, 0, 0, 0,0, 1, 0, 1, 0,0, 0, 0, 0, 0,0, 1, 1, 1, 0,0, 0, 0, 1, 0,};typedef struct { ...
分类:
其他好文 时间:
2021-04-07 11:33:01
阅读次数:
0