会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
vercont
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
35
下一页
2018年10月16日
洛谷 P1635 跳跃
摘要: 题目:题目背景NOIP即将迎来周年华诞。在这一个春秋的历程里,NOIP领导全国oier,建设高效、稳定、快捷、开放的社会主义现代化OI。在新的一年里,YZOJ将再接再厉,积极探寻成长之路,更好地为广大oier服务。题目描述青蛙小C听说NOIP要办周年庆比赛,...
阅读全文
posted @ 2018-10-16 19:45 vercont
阅读(220)
评论(0)
推荐(0)
2018年10月15日
python write() argument must be str, not bytes
摘要: python picklefrom __future__ import absolute_import from __future__ import division from __future__ import print_function ...
阅读全文
posted @ 2018-10-15 21:59 vercont
阅读(672)
评论(0)
推荐(0)
python write() argument must be str, not bytes
摘要: python picklefrom __future__ import absolute_import from __future__ import division from __future__ import print_function ...
阅读全文
posted @ 2018-10-15 21:59 vercont
阅读(1908)
评论(0)
推荐(0)
Python hashlib Unicode-objects must be encoded before hashing
摘要: Python2中没有这个问题python3中hashlib.md5(data)函数中data 参数的类型应该是byteshash前必须把数据转换成bytes类型Python 2.7.12 (default, Dec 4 2017, 14:50:18) [G...
阅读全文
posted @ 2018-10-15 20:36 vercont
阅读(206)
评论(0)
推荐(0)
Python hashlib Unicode-objects must be encoded before hashing
摘要: Python2中没有这个问题python3中hashlib.md5(data)函数中data 参数的类型应该是byteshash前必须把数据转换成bytes类型Python 2.7.12 (default, Dec 4 2017, 14:50:18) [G...
阅读全文
posted @ 2018-10-15 20:36 vercont
阅读(407)
评论(0)
推荐(0)
洛谷P1629 邮递员送信
摘要: 题目描述题目描述有一个邮递员要送东西,邮局在节点1.他总共要送N-1样东西,其目的地分别是2~N。由于这个城市的交通比较繁忙,因此所有的道路都是单行的,共有M条道路,通过每条道路需要一定的时间。这个邮递员每次只能带一样东西。求送完这N-1样东西并且最终回到邮...
阅读全文
posted @ 2018-10-15 19:48 vercont
阅读(182)
评论(0)
推荐(0)
TypeError: Error when calling the metaclass bases Cannot create a consistent method resolution
摘要: PythonError when calling the metaclass bases Cannot create a consistent method resolution order (MRO) for bases这个异常 看下代码应该是多重继承中类...
阅读全文
posted @ 2018-10-15 17:54 vercont
阅读(163)
评论(0)
推荐(0)
TypeError: Error when calling the metaclass bases Cannot create a consistent method resolution
摘要: PythonError when calling the metaclass bases Cannot create a consistent method resolution order (MRO) for bases这个异常 看下代码应该是多重继承中类...
阅读全文
posted @ 2018-10-15 17:54 vercont
阅读(254)
评论(0)
推荐(0)
2018年10月14日
[USACO07FEB]银牛派对Silver Cow Party
摘要: 题目简叙:寒假到了,N头牛都要去参加一场在编号为X(1≤X≤N)的牛的农场举行的派对(1≤N≤1000),农场之间有M(1≤M≤100000)条有向路,每条路长Ti(1≤Ti≤100)。每头牛参加完派对后都必须回家,无论是去参加派对还是回家,每头牛都会选择最...
阅读全文
posted @ 2018-10-14 20:29 vercont
阅读(197)
评论(0)
推荐(0)
[USACO09OPEN]捉迷藏Hide and Seek
摘要: 题意简叙:奶牛贝西和农夫约翰(FJ)玩捉迷藏,现在有N个谷仓,FJ开始在第一个谷仓,贝西为了不让FJ找到她,当然要藏在距离第一个谷仓最远的那个谷仓了。现在告诉你N个谷仓,和M个两两谷仓间的“无向边”。每两个仓谷间当然会有最短路径,现在要求距离第一个谷仓(FJ...
阅读全文
posted @ 2018-10-14 19:46 vercont
阅读(140)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
35
下一页
公告