注意: 配置前先检查电脑的java配置的JDK版本Windows+R ,输入进入控制窗口,输入java -version 如果不对先配置相应的jdk 一,点击右上角的File->Project Structure 二.file->Settings 三 File->Other Settngs->Set ...
分类:
其他好文 时间:
2020-06-12 22:59:15
阅读次数:
100
Monte Carlo Integration Monte Carlo integration uses a different perspective from Quadrature Integration to consider the problem of integration. Quadr ...
分类:
其他好文 时间:
2020-06-12 22:55:20
阅读次数:
106
最近学习了操作系统的并发;以下是关于进程间实现并发,通信的两个方法。 1:利用管道进行进程间的通信 用到下列函数 pipe() from unistd.h sleep() write(), read() fork(); //创建子进程 管道只能用于具有亲缘关系的进程,可以将其看作一个文件,但有别于普 ...
分类:
编程语言 时间:
2020-06-12 12:23:04
阅读次数:
109
1、进到数据库进行操作[root@localhostetc]#mysqlWelcometotheMariaDBmonitor.Commandsendwith;or\g.YourMariaDBconnectionidis7Serverversion:5.5.41-MariaDBMariaDBServerCopyright(c)2000,2014,Oracle,MariaDBCorporationAb
分类:
数据库 时间:
2020-06-11 18:12:20
阅读次数:
175
es5和es6区别javaScript是一种动态脚本,弱类型语言基于HTML客户语言,所以通过版本迭代增加一些特性:es5:1、导入模块使用request()2、导出module.exportes6:ES6特性如下:1.块级作用域关键字let,常量const2.对象字面量的属性赋值简写(propertyvalueshorthand)varobj={//protoproto:theProtoObj,
分类:
其他好文 时间:
2020-06-11 10:50:00
阅读次数:
71
1.1 创建 shell 脚本文件 在创建shell脚本文件时,必须在文件的第一行指定要使用的shell。其格式为: 1 #!/bin/bash 在通常的shell脚本中,井号(#)用作注释行。shell并不会处理shell脚本中的注释行。然而,shell脚本文件的第一行是个例外,#后面的惊叹号会告 ...
分类:
系统相关 时间:
2020-06-10 16:02:47
阅读次数:
70
方法一( win10 + IDEA2018.3+maven 3.6.0 亲测可用) 找到加载不了的jar包文件位置,删掉其中_maven.repositories文件,然后重启下IDEA,就可以了 方法二(网上看到的,没用过。eclipse应该可以): maven中的本地仓库的index索引没有更新 ...
分类:
编程语言 时间:
2020-06-09 23:24:19
阅读次数:
223
#include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;/*俄罗斯方块游戏题意:有n个数,从左 ...
分类:
其他好文 时间:
2020-06-09 20:18:52
阅读次数:
45
1.4. Dependencies 1.4.1. Dependency Injection Dependency injection (DI) is a process whereby objects define their dependencies (that is, the other obj ...
分类:
编程语言 时间:
2020-06-09 16:33:25
阅读次数:
54
HDU5691 Sitting in Line 题意: 给出$n$个数字,有些数字的位置固定了,现在要求把所有没固定的数字放在一个位置,使得任意相邻两个位置的数字的相乘的和最大 题解: $n$只有$16$,考虑状压$DP$ $DP[msk][i]$表示当前已经选了$msk$集合里的数字且最后一个数字 ...
分类:
其他好文 时间:
2020-06-09 14:59:52
阅读次数:
58