第一步 搭建运行环境 参考 mybatis 多对一查询的两种实现方式 第二步 编写代码 1、创建实体类Teacher和Student,一个老师给多个学生上课,一对多关系 Student package com.xiahui.pojo; import lombok.AllArgsConstructor ...
分类:
其他好文 时间:
2021-02-16 12:40:40
阅读次数:
0
refer to: https://stackoverflow.com/questions/24387451/how-can-i-kill-whatever-process-is-using-port-8080-so-that-i-can-vagrant-up/24388281 怎么解决端口被占用的 ...
分类:
其他好文 时间:
2021-02-09 11:56:30
阅读次数:
0
vim ping.sh ping -c2 $1 &> /dev/null //-c2表示运行2次, $1代表变量 if [ $? -eq 0 ];then // $?表示判定上句命令是否正确 0表示正确 1错误 // -eq表示 等于= echo "$1 is up" else echo "$1 i ...
分类:
其他好文 时间:
2021-02-08 12:36:08
阅读次数:
0
Problem Description In a modernized warehouse, robots are used to fetch the goods. Careful planning is needed to ensure that the robots reach their de ...
分类:
其他好文 时间:
2021-02-05 10:47:53
阅读次数:
0
0.0.0.0 netstat -nr命令会显示路由表的内容。网关为0.0.0.0的网络通常是直连到网络设备上的。因为到自己的直连设备上是不需要网关的,所以0.0.0.0的网关地址是正常的。目的地址是0.0.0.0的路由是你的缺省网关。 Flags:代表的意义如下: o U (route is up ...
分类:
其他好文 时间:
2021-02-03 11:04:20
阅读次数:
0
原题链接 考察:容斥原理 错误思路: 枚举预处理每一个数C4n 的组合数,将p数组的每一个数求约数集合,将约数个数>=4的纳入容斥的集合内.再用容斥计数解决. 时间复杂度是10000*100*2出现次数>=4的约数个数 ,前面的时间复杂度已经到了1e6,如果个数>7就已经有超时风险,更不要说总共10 ...
分类:
其他好文 时间:
2021-02-01 12:59:29
阅读次数:
0
1. Individual users只能set up自己的个人账号,admin可以从User Management为其他用户set up个人账号(右上角下拉菜单中选Admin) 2. Securitly Groups:define groups of users with particular a ...
分类:
其他好文 时间:
2021-01-28 11:52:12
阅读次数:
0
Cleaning the Phone Polycarp often uses his smartphone. He has already installed n applications on it. Application with number i takes up ai units of m ...
分类:
其他好文 时间:
2021-01-27 13:50:46
阅读次数:
0
地址 https://vjudge.net/problem/POJ-3187 题意是给你一个N(1<=N<=10) 要求将1到N的数字进行排列 然后进行杨辉三角运算 每行的数字等于上一行相同坐标和上一行相同坐标右边的两个数字之和 最后得到唯一的一个数字 现在给予N 和一个M 请问初始的N个数字该如何 ...
分类:
其他好文 时间:
2021-01-27 13:02:49
阅读次数:
0
Chapter 7 - Collaborative Analytics with Plotly Segment 2 - Creating statistical charts Setting up to use Plotly within Jupyter import numpy as np imp ...
分类:
编程语言 时间:
2021-01-25 11:18:24
阅读次数:
0