https://github.com/go-proverbs/go-proverbs.github.io Go Proverbs Simple, Poetic, Pithy Don't communicate by sharing memory, share memory by communicat ...
分类:
其他好文 时间:
2020-06-28 00:41:05
阅读次数:
498
There is a game called "I Wanna Be the Guy", consisting of n levels. Little X and his friend Little Y are addicted to the game. Each of them wants to ...
分类:
其他好文 时间:
2020-06-27 21:41:11
阅读次数:
90
We continue practicing simple SQL queries on a single table. This tutorial is concerned with a table of Nobel prize winners: nobel(yr, subject, winner ...
分类:
数据库 时间:
2020-06-27 20:33:19
阅读次数:
101
生成树顾名思义是对原图提取一些边来生成一棵树。 例题: CF840B Leha and another game about graph 题解 ...
分类:
其他好文 时间:
2020-06-27 16:00:29
阅读次数:
35
简单工厂模式 Simple Factory Pattern 由一个工厂对象决定创建出哪一种产品类的实例。 Before you use simple factory pattern after 工厂方法模式 (把对象的实例化推迟到子类) 如果不同地方的Pizza又推出不同的口味,若使用简单工厂模式则 ...
分类:
其他好文 时间:
2020-06-27 00:21:56
阅读次数:
49
下载爬虫相关包 下载二进制包: https://www.lfd.uci.edu/~gohlke/pythonlibs/ 下载lxml、Twisted、pywin32、Scrapy 安装: 第一步: pip install -i https://pypi.douban.com/simple lxml- ...
分类:
其他好文 时间:
2020-06-27 00:09:26
阅读次数:
152
题目链接:https://codeforces.com/contest/1373/problem/B 题意 给出一个二进制串 $s$,Alica 和 Bob 每次可以选择移去 $s$ 中的一个 $10$ 或 $01$,无法选择者视为输掉游戏,判断最终谁会胜利。($1 \le t \le 1000, ...
分类:
其他好文 时间:
2020-06-26 23:51:15
阅读次数:
55
https://leetcode-cn.com/problems/jump-game/ 给定一个非负整数数组,你最初位于数组的第一个位置。 数组中的每个元素代表你在该位置可以跳跃的最大长度。 判断你是否能够到达最后一个位置。 示例 1: 输入: [2,3,1,1,4]输出: true解释: 我们可以 ...
分类:
其他好文 时间:
2020-06-26 12:37:45
阅读次数:
63
Game of Life (M) 题目 According to the Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British ...
分类:
其他好文 时间:
2020-06-26 10:53:37
阅读次数:
48
以前因为win10下,pip安装太慢容易出错,所以离线下载许多包,现在想想自己好傻。可以通过修改下载源来解决问题。 1:windows 编辑C:\Users\用户名\AppData\Roaming\pip\pip.ini(没有则新建),写入以下内容: [global] index-url = htt ...
分类:
编程语言 时间:
2020-06-25 23:22:25
阅读次数:
74