0 small games: number guess: import random answer = random.randint(1,10) guess = int(input('please input your guess: ' )) i = 2 while i : if guess != ...
分类:
编程语言 时间:
2017-05-23 00:26:45
阅读次数:
210
Netop.Core主要提供的服务是类工厂服务及AOP服务,当然还其它一些小服务: 一、对话上下文Netop.Core.Context.SessionContext 此对话上下文可用在桌面程序和ASP.NET程序,可用SetData和GetData在上下文中传递数据。方法有: public stat ...
分类:
Web程序 时间:
2017-05-22 17:50:34
阅读次数:
310
1、给定两个只包含AB的字符串$S,T$。问是否存在一种操作序列将$S$变成$T$。操作有两种:(1)在$S$后加一个‘A’;(2)在$S$后加一个'B'并反转整个串。 思路:每次枚举$S$的两种变化,并判断新的串是否是$T$的子串。不是的话停止搜索。 ...
分类:
其他好文 时间:
2017-05-22 16:53:20
阅读次数:
137
问: As the title implies, I am using AFNetworking in an iOS project in which the application talks to a server. When the user signs in, the server resp ...
分类:
Web程序 时间:
2017-05-22 12:09:43
阅读次数:
222
注意2^32用long long其他没坑,扩展欧几里得,,,反正我没想到 ...
分类:
其他好文 时间:
2017-05-22 11:02:44
阅读次数:
164
poj—— 1860 Currency Exchange Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 29851 Accepted: 11245 Description Several currency exchange po ...
分类:
其他好文 时间:
2017-05-20 23:31:38
阅读次数:
237
我们经历还真是曲折啊。很高兴你能够接纳我。我一直一直很喜欢你,不管是从前,还是现在,我一直都是很喜欢。不过我们从来没有在一起过。你最后的选择让我欣喜若狂,本来,我在这里写文章意图是为了记录学习,还有技术交流。我本来打算一个人为了技术去过完这余下的日子,不管以后能不能遇到另外一个能打动我的心的人。我知 ...
分类:
其他好文 时间:
2017-05-20 17:47:58
阅读次数:
126
There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 <= Ki <= N) on every floor.The lift have just two ...
分类:
其他好文 时间:
2017-05-20 16:32:26
阅读次数:
233
先列出常用方法,具体的等会 unshift在数组头部插入元素、shift移出并返回数组的第一个元素 push在数组尾部插入元素、pop移出并返回数组的最后一个元素 concat把元素衔接到数组中,不会修改原先的array并返回新数组 join将数组中所有元素通过一个分隔符拼接为一个字符串 every ...
分类:
Web程序 时间:
2017-05-20 14:55:06
阅读次数:
169
Nike pulled a fast one on consumers by releasing the Nike Kobe 11 Elite, announced there would be no other versions of the Kobe 11, then subsequently ...
分类:
其他好文 时间:
2017-05-20 13:20:14
阅读次数:
238