1、 #include <stdio.h> #define NUMBER 5 int main(void) { int a[NUMBER]; int i; puts("please input several numbers."); for (i = 0; i < NUMBER; i++) { pr ...
分类:
编程语言 时间:
2021-02-04 12:18:06
阅读次数:
0
具体报错信息: 1 Whitelabel Error Page 2 This application has no explicit mapping for /error, so you are seeing this as a fallback. 3 4 Mon Feb 01 21:33:07 C ...
分类:
移动开发 时间:
2021-02-02 11:27:59
阅读次数:
0
''' 两句口诀理解闭包与装饰器 1.闭包:至少两层楼,楼下变量管上楼,return上楼不动手 2.装饰器:客人空手来,还得请上楼,干啥都同意,有参给上楼 ''' def secondFloor(func): def thirdFloor(): print('源函数开始执行了') func() pr ...
分类:
编程语言 时间:
2021-02-02 10:45:09
阅读次数:
0
使用IDEA自带的打包工具,simple-robot-conf.properties这个配置文件总是会被一同打进jar包里,失去配置文件的作用,并且即使把配置文件和jar包放在同一目录下,jar包运行时也会找不到配置文件,就很奇怪。 但使用maven的打包功能则不会 使用这个命令 mvn compi ...
分类:
编程语言 时间:
2021-02-02 10:35:46
阅读次数:
0
// Project file declarations... //项目文件声明… program MyCompany.ProjectX.ProgramY; // Unit source file declaration... //单元源文件声明 unit MyCompany.ProjectX.Pr ...
Game of Taking Stones HDU - 5973 题目大意 给你两堆石子,分别有$x$,$y$个,可以同时在两堆里取相同个数,也可以只在一堆里取不小于$1$个的石子。 \(x,y<10^{100}\) 解 首先,不考虑数据范围,这是个经典的威佐夫博弈,先手输只需满足如下式子即可: \ ...
分类:
其他好文 时间:
2021-02-01 11:37:37
阅读次数:
0
#include<iostream> #include<stack> #include<vector> #include<cstring> using namespace std; int n; char s1[10], s2[10]; vector<int> p; //记录顺序 stack<cha ...
分类:
其他好文 时间:
2021-01-30 11:54:10
阅读次数:
0
一、下载源地址修改,用国内镜像站点: 国内源: 新版ubuntu要求使用https源,要注意。 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https:// ...
分类:
其他好文 时间:
2021-01-29 11:56:43
阅读次数:
0
每次使用brew安装软件时,默认都会自动检查更新homebrew,显示Updating Homebrew...,会浪费很多的时间,所以要关闭自动更新。 # 关闭自动更新,在.zshrc文件中加入下方命令,如果是bash请加在.bash_profile文件中,全局变量可以sudo vi /etc/pr ...
分类:
其他好文 时间:
2021-01-28 12:07:36
阅读次数:
0
题意 定义 \(\text{He[N]}\) 表示满足以下方程的解的个数: \[ X^2\equiv X(\bmod N)(X\in [0,N-1]) \] 并且定义 \(\text{HeHe[N]}=\text{He[1]}\times \cdots \times \text{He[N]}\),对 ...
分类:
其他好文 时间:
2021-01-27 13:59:23
阅读次数:
0