You are fishing with polar bears Alice and Bob. While waiting for the fish to bite, the polar bears get bored. They come up with a game. First Alice a ...
分类:
其他好文 时间:
2017-07-30 23:56:12
阅读次数:
398
Problem 2283 Tic-Tac-Toe Accept: 60 Submit: 92Time Limit: 1000 mSec Memory Limit : 262144 KB Accept: 60 Submit: 92Time Limit: 1000 mSec Memory Limit : ...
分类:
其他好文 时间:
2017-07-30 14:45:29
阅读次数:
203
转载于 https://mp.weixin.qq.com/s/P62sjqhSTxmWVicrEAk-RQ 为了简化展示过程,我们设计了一个pml脚本 (脚本内有很详细的解释),只需要修改脚本里面受体和配体的名字,然后在PyMOL的命令行界面输入PyMOL> run display.pml即可获得展 ...
分类:
其他好文 时间:
2017-07-29 18:16:39
阅读次数:
2148
Vasily has a number a, which he wants to turn into a number b. For this purpose, he can do two types of operations: multiply the current number by 2 ( ...
分类:
其他好文 时间:
2017-07-27 01:01:56
阅读次数:
181
在elixir中, true 就是true 或者是:true 是一个原子 atom, 在其他语言中的true,这里叫做truth, 只要你不是false,nil ,就是truth, 当然 false和nil也是原子 所以说elixir中Boolean operators 是针对true a or b ...
分类:
其他好文 时间:
2017-07-27 00:54:19
阅读次数:
133
Object转为String的几种形式 在java项目的实际开发和应用中,常常需要用到将对象转为String这一基本功能。本文将对常用的转换方法进行一个总结。常用的方法有Object.toString(),(String)要转换的对象,String.valueOf(Obje ...
分类:
编程语言 时间:
2017-07-26 13:38:01
阅读次数:
99
Compare two version numbers version1 and version2.If version1 > version2 return 1, if version1 < version2 return -1, otherwise return 0. You may assum ...
分类:
其他好文 时间:
2017-07-23 12:37:40
阅读次数:
145
Redis的列表对象底层所使用的数据结构其中之一就是list。 list Redis的list是一个双端链表,其由3部分构成:链表节点、链表迭代器、链表。这一设计思想和STL的list是一样的,STL的list也是由这三部分组成。需要特别说明的是Redis用C语言实现了list的迭代器,比较巧妙,下 ...
分类:
其他好文 时间:
2017-07-18 23:03:31
阅读次数:
350
Given an integer, write an algorithm to convert it to hexadecimal. For negative integer, two’s complement method is used. Note: All letters in hexadec ...
分类:
其他好文 时间:
2017-07-10 22:17:35
阅读次数:
152
You have n devices that you want to use simultaneously. The i-th device uses ai units of power per second. This usage is continuous. That is, in λ sec ...
分类:
其他好文 时间:
2017-07-09 23:59:15
阅读次数:
560