码迷,mamicode.com
首页 >  
搜索关键字:known    ( 1617个结果
Python之collection
1、计数器(counter) Counter是对字典类型的补充,用于追踪值的出现次数。 ps:具备字典的所有功能 + 自己的功能 2、有序字典(orderedDict ) orderdDict是对字典类型的补充,他记住了字典元素添加的顺序 3、默认字典(defaultdict) 问题如下: defa ...
分类:编程语言   时间:2018-10-05 17:17:56    阅读次数:160
[搜索]Connect3
题目描述 Connect3 is a simplified version of a well-known Connect4 game. Connect3 is a game for two players, black and white, who take turns placing their ...
分类:其他好文   时间:2018-10-05 13:58:27    阅读次数:186
C++之Basic knowledge
[TOC] Ascii Codes It is a very well known fact that computers can manage internally only 0s (zeros) and 1s (ones). This is true, and by means of seque ...
分类:编程语言   时间:2018-10-04 19:53:13    阅读次数:189
Fibonacci
题目链接 Problem DescriptionFibonacci numbers are well-known as follow: Now given an integer N, please find out whether N can be represented as the sum of ...
分类:其他好文   时间:2018-10-04 13:44:28    阅读次数:183
2018SDIBT_国庆个人第三场
A - A CodeForces - 1042A There are nn benches in the Berland Central park. It is known that aiai people are currently sitting on the ii-th bench. Anot ...
分类:其他好文   时间:2018-10-04 10:44:19    阅读次数:118
Romaji (CodeForces - 1008A )
Vitya has just started learning Berlanese language. It is known that Berlanese uses the Latin alphabet. Vowel letters are "a", "o", "u", "i", and "e". ...
分类:其他好文   时间:2018-10-01 17:11:16    阅读次数:200
CentOS执行ping命令报错 name or service not know
在虚拟机上安装的CentOS,但是当执行ping命令的时候,提示name or service not known 解决方法如下: 1. 添加DNS服务器 1 在文件中添加如下两行(可以自己选择DNS服务器,这里选的是114的,包括谷歌的8.8.8.8和腾讯的119.29.29.29都可以): 1 ...
分类:其他好文   时间:2018-09-30 18:12:47    阅读次数:265
only size-1 arrays can be converted to Python scalars
python版本:3.6.5 opencv版本:3.2.0 使用的jupyter notebook 源码如下: 错误如下: 错误原因: 传递的参数错误 train函数中第二个参数应该是数组的布局方式 应该根据传入数组的形式填cv2.ml.ROW_SAMPLE或者cv2.ml.COL_SAMPLE 例 ...
分类:编程语言   时间:2018-09-29 14:27:24    阅读次数:6091
在centos7上安装gcc、node.js(源码下载)
一、在centos7中安装node.js https://www.cnblogs.com/lpbottle/p/7733397.html 1、从源码下载Nodejs cd /usr/local/srcwget https://npm.taobao.org/mirrors/node/v8.7.0/no ...
分类:Web程序   时间:2018-09-25 16:12:10    阅读次数:228
HDU 1005 Wooden Sticks
http://acm.hdu.edu.cn/showproblem.php?pid=1051 Problem Description There is a pile of n wooden sticks. The length and weight of each stick are known i ...
分类:其他好文   时间:2018-09-25 12:37:35    阅读次数:149
1617条   上一页 1 ... 45 46 47 48 49 ... 162 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!