兄弟题1039 Course List for Student (25 分),一样很水。 vector<string> course[2510]; int n,m; int main() { cin>>n>>m; for(int i=0;i<n;i++) { string name; name.re ...
分类:
其他好文 时间:
2021-02-19 12:59:54
阅读次数:
0
第一个Mybatis程序 一、创建数据库、数据表 sql语句如下: create database mybatis; use mybatis; create table user( id int primary key auto_increment , name varchar(50) not nu ...
分类:
其他好文 时间:
2021-02-18 13:32:04
阅读次数:
0
Java实现乳腺癌诊断(分类)实验总结 朴素贝叶斯分类器、SVM(5行代码实现) 实验源码:https://gitee.com/LiuXingwu/sharing 1.问题描述 某研究获取了若干乳腺癌诊断数据,存放于breast cancer数据.txt 中。每个样本第一个数值为ID,随后10列为十 ...
分类:
编程语言 时间:
2021-02-18 13:28:12
阅读次数:
0
在 Vue.JS 项目中执行 npm run build 没想到出现了这个错误 (node:18692) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Objec ...
分类:
其他好文 时间:
2021-02-18 13:05:49
阅读次数:
0
方式1: ssh-copy-id -f -i .ssh/id_rsa.pub root@LinuxServerIP 方式2: #先在mac上将公钥上传到Linux服务器 scp .ssh/id_rsa.pub root@LinuxServerIP: #然后以root身份登录到Linux服务器上 ca ...
分类:
系统相关 时间:
2021-02-18 12:58:05
阅读次数:
0
1.v-bind: v-bind attribute 被称为指令,在这里,该指令的意思是:“将这个元素节点的 title attribute 和 Vue 实例的 message property 保持一致”。 <div id="app"> <span v-bind:title="message"> ...
分类:
其他好文 时间:
2021-02-18 12:54:53
阅读次数:
0
大水题。。。 const int N=1e5+10; struct Node { string id; string name; int grade; }a[N]; int n,m; bool cmp1(Node &a,Node &b) { return a.id < b.id; } bool cm ...
分类:
其他好文 时间:
2021-02-17 15:07:19
阅读次数:
0
resultMap: ResultMap 的设计思想是,对于简单的语句根本不需要配置显式的结果映射,而对于复杂一点的语句只需要描述它们的关系就行了。 <resultMap id="userResultMap" type="User"> <id property="id" column="user_i ...
分类:
其他好文 时间:
2021-02-17 14:55:08
阅读次数:
0
1.fork函数 作用:创建一个子进程 函数原型:pid_t fork(); 返回值: 两个返回值,一个是父进程的返回值,其值为子进程的进程id;一个是子进程的返回值,为0代表创建成功,-1代表创建失败。 循环创建n个进程: 1 #include <stdio.h> 2 #include <unis ...
分类:
系统相关 时间:
2021-02-17 14:48:51
阅读次数:
0
封装 定义:属性私有private;get/set 目的 提高程序的安全性,保护数据 隐藏代码的实现细节 统一接口 提高系统的可维护性 代码 public class Student { //名字 private String name; //学号 private int id; //性别 priv ...
分类:
编程语言 时间:
2021-02-17 14:11:07
阅读次数:
0