码迷,mamicode.com
首页 >  
搜索关键字:a simple game    ( 11903个结果
[ZJOI2007]捉迷藏(动态点分治)
题目描述 Jiajia和Wind是一对恩爱的夫妻,并且他们有很多孩子。某天,Jiajia、Wind和孩子们决定在家里玩捉迷藏游戏。他们的家很大且构造很奇特,由N个屋子和N 1条双向走廊组成,这N 1条走廊的分布使得任意两个屋子都互相可达。 游戏是这样进行的,孩子们负责躲藏,Jiajia负责找,而Wi ...
分类:其他好文   时间:2019-12-07 10:55:38    阅读次数:98
使用pip安装Python库超时解决办法
如果在国内安装Python库,强烈推荐使用豆瓣的源http://pypi.douban.com/simple/ 可以这样使用 pip install -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple ipy ...
分类:编程语言   时间:2019-12-06 23:45:20    阅读次数:175
常用代码合集
[TOC] shell ? 这是平时我在shell开发中常用的一些代码demo 1. 注册成为service ~~~shell [Unit] Description=lingouu app.service After=syslog.target [Service] Type=simple ExecS ...
分类:其他好文   时间:2019-12-06 21:24:13    阅读次数:149
node及pm2环境安装
一、node安装 软件地址:https://nodejs.org/en/download/ #1、下载软件包 [root@node ~]# mkdir /app [root@node ~]# cd /app/ [root@node app]# wget https://nodejs.org/dist... ...
分类:其他好文   时间:2019-12-06 13:16:22    阅读次数:112
Python pip下载慢的解决方法
国外的源下载速度实在是太慢了 可以使用国内的一些镜像网站安装 使用cmd命令 格式:pip install -i 网站 库 例如: 国内的一些镜像网站 清华大学:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.co ...
分类:编程语言   时间:2019-12-06 13:15:35    阅读次数:75
将python项目.py文件打包成.exe文件
安装pyinstaller包 pip3 install pyinstaller 如果不行 pip3 install pyinstaller -i https://pypi.doubanio.com/simple 准备一个你要打包的.py文件,cd到该文件路径下,打开cmd 在命令行中输入: pyin ...
分类:编程语言   时间:2019-12-06 09:23:07    阅读次数:86
安装PyInstaller失败
pip install PyInstaller 报错: 后运行: 指定安装源进行安装: pip3 install pyinstaller -i https://pypi.doubanio.com/simple 安装成功 或者这个可以试试 修改超时时间: pip --default-timeout=1 ...
分类:其他好文   时间:2019-12-06 09:18:43    阅读次数:91
CodeForces - 841B-Godsend-思维
Leha somehow found an array consisting of n integers. Looking at it, he came up with a task. Two players play the game on the array. Players move one ...
分类:其他好文   时间:2019-12-06 00:28:45    阅读次数:94
python调用cv2.findContours时报错:ValueError: not enough values to unpack (expected 3, got 2)
OpenCV旧版,返回三个参数: im2, contours, hierarchy = cv2.findContours(mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) 要想返回三个参数: 把OpenCV 降级成3.4.3.18 就可以了,在终端输入pip ...
分类:编程语言   时间:2019-12-05 13:21:53    阅读次数:97
大模拟
工具人的自觉 尽量在对的前提下加快速度吧 也稍微总结下容易粗心的地方,慢慢补 计蒜客T42401 ($Poker\ Game$,$2019ICPC$南京) 一些调试中发现的错误: 1. 把第一次翻开的community card数量当成$2$(应该为$3$)→ 进而影响第$3,4$人在flop-be ...
分类:其他好文   时间:2019-12-05 01:35:06    阅读次数:174
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!