码迷,mamicode.com
首页 >  
搜索关键字:alice    ( 981个结果
OpenJudge NOI 4976 硬币
http://noi.openjudge.cn/ch0207/4976/ 描述 宇航员Bob有一天来到火星上,他有收集硬币的习惯。于是他将火星上所有面值的硬币都收集起来了,一共有n种,每种只有一个:面值分别为a1,a2… an。 Bob在机场看到了一个特别喜欢的礼物,想买来送给朋友Alice,这个礼 ...
分类:其他好文   时间:2017-10-02 11:50:21    阅读次数:201
[Spark][python]以DataFrame方式打开Json文件的例子
[Spark][python]以DataFrame方式打开Json文件的例子: [training@localhost ~]$ cat people.json{"name":"Alice","pcode":"94304"}{"name":"Brayden","age":30,"pcode":"943 ...
分类:编程语言   时间:2017-10-01 21:14:36    阅读次数:471
[Python] The get() method on Python dicts and its "default" arg
# The get() method on dicts # and its "default" argument name_for_userid = { 382: "Alice", 590: "Bob", 951: "Dilbert", } def greeting(userid): return ... ...
分类:编程语言   时间:2017-10-01 19:02:43    阅读次数:181
Spark(Python) 从内存中建立 RDD 的例子
Spark(Python) 从内存中建立 RDD 的例子: myData = ["Alice","Carlos","Frank","Barbara"]myRdd = sc.parallelize(myData)myRdd.take(2) In [52]: myData = ["Alice","Car ...
分类:编程语言   时间:2017-09-24 18:18:34    阅读次数:514
gems gems gems
Now there are nn gems, each of which has its own value. Alice and Bob play a game with these nn gems. They place the gems in a row and decide to take ...
分类:其他好文   时间:2017-09-24 16:22:48    阅读次数:135
P3507 [POI2010]GRA-The Minima Game
题目描述 Alice and Bob learned the minima game, which they like very much, recently. The rules of the game are as follows. A certain number of cards lies ...
分类:其他好文   时间:2017-09-24 09:55:39    阅读次数:220
XJOI 游戏
题目大意: Alice和Bob两个人正在玩一个游戏,游戏有很多种任务,难度为p的任务(p是正整数),有1/(2^p)的概率完成并得到2^(p-1)分,如果完成不了,得0分。一开始每人都是0分,从Alice开始轮流做任务,她可以选择任意一个任务来做;而Bob只会做难度为1的任务。只要其中有一个人达到n ...
分类:其他好文   时间:2017-09-22 19:13:15    阅读次数:154
洛谷 P3507 [POI2010]GRA-The Minima Game
P3507 [POI2010]GRA-The Minima Game P3507 [POI2010]GRA-The Minima Game P3507 [POI2010]GRA-The Minima Game 题目描述 Alice and Bob learned the minima game, w ...
分类:其他好文   时间:2017-09-20 19:23:17    阅读次数:121
判断是否撒谎
#和Alice有个约会,一大早Bob就从点(0,0)出发,前往约会地点(a,b)。Bob没有一点方向感,因此他每次都随机的向上下左右四个方向走一步。简而言之,如果Bob当前在(x,y),那么下一步他有可能到达(x+1,y),(x-1,y),(x,y+1),(x,y-1)。很显然,当他到达目的地的时候 ...
分类:其他好文   时间:2017-09-17 18:46:47    阅读次数:135
hdu4614
Alice is so popular that she can receive many flowers everyday. She has N vases numbered from 0 to N-1. When she receive some flowers, she will try to ...
分类:其他好文   时间:2017-09-17 17:26:37    阅读次数:147
981条   上一页 1 ... 41 42 43 44 45 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!