Ignatius and the Princess IV "OK, you are not too bad, em... But you can never pass the next test." feng5166 says. "I will tell you an odd number N, a ...
分类:
其他好文 时间:
2018-12-07 15:58:40
阅读次数:
207
import matplotlib.pyplot as plt import numpy as np x=np.linspace(-3,3,50) y1=x*2+1 y2=x**2 plt.plot(x,y1) plt.figure(num=3,figsize=(8,5)) plt.plot(x,y... ...
分类:
其他好文 时间:
2018-12-06 20:13:02
阅读次数:
201
题目 题目描述 农民约翰有三个容量分别是A,B,C升的桶,A,B,C分别是三个从1到20的整数, 最初,A和B桶都是空的,而C桶是装满牛奶的。有时,农民把牛奶从一个桶倒到另一个桶中,直到被灌桶装满或原桶空了。当然每一次灌注都是完全的。由于节约,牛奶不会有丢失。 写一个程序去帮助农民找出当A桶是空的时 ...
分类:
其他好文 时间:
2018-12-05 21:52:58
阅读次数:
204
I/O重定向一.标准输入、标准输出、标准错误filedescriptors(FD,文件描述符或ProcessI/Ochannels):进程使用文件描述符来管理打开的文件[root@tianyun~]#ls/proc/$$/fd012340,1,and2,knownasstandardinput,standardoutput,andstandarderror二.输出重定向(覆盖,追加)正确输出:1&
分类:
其他好文 时间:
2018-12-05 21:49:51
阅读次数:
244
https://stackoverflow.com/questions/251391/why-is-lockthis-bad It is bad form to use this in lock statements because it is generally out of your contr ...
分类:
其他好文 时间:
2018-12-05 12:16:03
阅读次数:
143
这是一个结果的云图。现在想要查看管道某横截面的云图。步骤1右键coordinatesystems创建一个坐标系步骤2更改新建坐标轴属性步骤3新建一个surface定义中选择刚才创建的坐标系步骤4右键solution选择刚才创建的面创建后处理云图ok了
分类:
其他好文 时间:
2018-12-04 17:14:32
阅读次数:
4458
修复/lib/ld linux.so.2: bad ELF interpreter: No such file or directory问题 背景 刚刚安装的CentOS 7.5 Mini版本系统,然后配置JDK环境,配置好后显示: 报错了。。。根据提示查了下,发现缺少了 glibc.i686... ...
分类:
系统相关 时间:
2018-12-04 17:06:31
阅读次数:
225
"传送门" 解题思路 比较容易的一道期望$dp$,设$f[i][j][k]$表示石头$i$个,剪刀$j$个,步子$l$个。然后转移的时候用组合数算一下就好了。 代码 cpp include include include include using namespace std; const int ...
分类:
其他好文 时间:
2018-12-01 20:06:58
阅读次数:
165
今天是2014-05-27,今天遇到一个lib问题。再次记录一下。这是一个案例。更是一种解决该问题的方法过程。 当我们在使用sqlplus 登陆unix数据库的时候,有可能出现相似:xxxxxx bad ELF interpreter: No such file or directory的问题。该问 ...
分类:
数据库 时间:
2018-12-01 15:05:18
阅读次数:
239
Go to Elastic Beanstalk -> Configuration -> Security -> Virtual machine permissions -> EC2 key pair. Choose your key pair. If you do not have one, The ...
分类:
其他好文 时间:
2018-12-01 15:05:09
阅读次数:
186