码迷,mamicode.com
首页 >  
搜索关键字:bob    ( 1241个结果
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
mongodb的增、删、改、插的一个实例
创建一个学生信息表(至少包含:姓名,性别,成绩,年龄) 1、写入十五条不同的数据 db.students.insertMany([{ name: "bob", age: 16, sex: "male", grade: 95},{ name: "ahn", age: 18, sex: "female" ...
分类:数据库   时间:2017-09-20 18:01:20    阅读次数:192
UWP-磁贴初识
原文:UWP-磁贴初识 简单的磁贴内容实现,来自 Bob 的视频。 为一个按钮添加点击事件,来更新磁贴。 private void ChangeTileContentButton_Click(object sender, RoutedEventArgs e) { var tileXml = Tile... ...
分类:其他好文   时间:2017-09-20 10:11:57    阅读次数:154
判断是否撒谎
#和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
Coin
Bob has a not even coin, every time he tosses the coin, the probability that the coin's front face up is qp(qp≤12)\frac{q}{p}(\frac{q}{p} \le \frac{1} ...
分类:其他好文   时间:2017-09-17 13:48:47    阅读次数:394
2017 ACM-ICPC 亚洲区(西安赛区)网络赛: B. Coin 【概率题】
Bob has a not even coin(就是一个不均匀的硬币,朝上的概率不一定是1/2), every time he tosses the coin, the probability that the coin's front face up is q/p(q/p<=1/2). The q ...
分类:其他好文   时间:2017-09-17 13:36:10    阅读次数:292
oracle scott趣事
Oracle里面是scott是个什么用户呢? 这个就要追朔到Oracle的创业阶段了, 1977年6月,埃里森,Bob Miner和Ed Oates在硅谷共同创办了一家名为软件开发实验室(Software Development Laboratories,SDL)的计算机公司,这个只有三个人的公司就 ...
分类:数据库   时间:2017-09-16 19:08:27    阅读次数:210
Python_List,Tuple,Dict,Set
一:List 列表 list是一种有序的集合,可以随时添加和删除其中的元素 用 [ ] 把list的所有元素都括起来,就是一个list对象。通常,我们会把list赋值给一个变量,这样,就可以通过变量来引用list classmates = ['Michael', 'Bob', 'Tracy'] 查询 ...
分类:编程语言   时间:2017-09-14 15:00:03    阅读次数:277
1241条   上一页 1 ... 42 43 44 45 46 ... 125 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!