题目描述:There are n cities in Byteland, and the ith city has a value ai. The cost of building a bidirectional road between two cities is the sum of their ...
分类:
其他好文 时间:
2018-05-19 13:56:13
阅读次数:
307
Problem Description We define an element a_iai? in a sequence "good", if and only if there exists a j(1\le j < i)j(1≤j<i) such that a_j < a_iaj?<ai?.G ...
分类:
其他好文 时间:
2018-05-15 00:26:05
阅读次数:
459
Alice and Bob are playing a stone game. There are n piles of stones. In each turn, a player can remove some stones from a pile (the number must be pos ...
分类:
其他好文 时间:
2018-05-12 15:07:58
阅读次数:
645
panddas 读入 csv 文件¶ In [9]: import pandas as pd f = open('D:/Project/180414山东癌症交接/初始数据/1973to2015.csv') all_data = pd.read_csv(f) In [30]: df2014 = all ...
分类:
其他好文 时间:
2018-05-07 22:57:09
阅读次数:
223
按比赛时的开题顺序写一下总结、反思、大概题解,以及以后的训练规划。 A题大概题解: 简单讨论了一下。注意到题目要求的是变换到目的串的任意排列的最小花费,想到对两个串都按字典序排序,在B串中找到第一个大于等于A[0]的元素,之后一一对应,如果B[I]>=A[J],ans+=A[J]-B[I];否则跳过 ...
分类:
其他好文 时间:
2018-05-06 23:58:39
阅读次数:
342
data = { '浙江':{ "绍兴":{ "柯桥":["A","B"], "上虞":["C","D"] }, "杭州":{ "萧山":["E","F"], "余杭":{"G","H"}, "下沙":{"X","Y"}, }, "温 ...
分类:
其他好文 时间:
2018-05-06 19:58:01
阅读次数:
117
我的大学生活还在继续,为了明确自己到底学了什么,想学什么,做这样的总结我相信是有意义的。 Pré大学 在15年结束了高考,在准备高考期间曾经怀疑自己是否未来一定去做数学,但是考完之后我似乎决定了。鉴于网络上的专业排名,我直接报了山东大学。之后来到学校,听说有泰山学堂这样一个东西,然后就抱着逃军训的心 ...
分类:
系统相关 时间:
2018-05-04 21:20:52
阅读次数:
228
题目描述 Kudo’s real name is not Kudo. Her name is Kudryavka Anatolyevna Strugatskia, and Kudo is only her nickname. Now, she is facing an emergency in he ...
分类:
编程语言 时间:
2018-05-01 17:47:34
阅读次数:
196
那些可以恣意哭笑张扬的日子,那些固执地一直仰望天空的日子,我们转身就真的再也回不去了。 ...
分类:
其他好文 时间:
2018-04-29 19:25:14
阅读次数:
202
背景 使用 NodeJS 进行微信公共号开发,首先需要响应微信发送的Token验证,官方文档 填写服务器配置 登录微信公共平台,在开发下的基本配置打开该页面。 依次填写接口的 URL、自定义的 Token、点击随机生成生成 EncodingAESKey、将消息加密方式选择为明文模式,点击提交时微信会 ...
分类:
微信 时间:
2018-04-27 17:53:17
阅读次数:
228