码迷,mamicode.com
首页 >  
搜索关键字:alice    ( 981个结果
位运算 F Alice and Bob
题目传送门 1 /* 2 题意: 求(a0*x^(2^0)+1) * (a1 * x^(2^1)+1)*.......*(an-1 * x^(2^(n-1))+1) 式子中,x的p次方的系数 3 二进制位运算:p = 2 ^ i + 2 ^ j + 2 ^ k + ...,在二进制...
分类:其他好文   时间:2015-04-07 17:10:01    阅读次数:150
CSU1569: Wet Tiles(BFS控制时间相同)
1569: Wet Tiles Time Limit: 60 Sec  Memory Limit: 512 MB Submit: 73  Solved: 34 [Submit][Status][Web Board] Description Alice owns a construction company in the town of Norainia, famous f...
分类:其他好文   时间:2015-04-06 20:23:03    阅读次数:125
组队赛#1 解题总结 ZOJ 3798 Abs Problem (找规律+打表)
Abs Problem Time Limit: 2 Seconds      Memory Limit: 65536 KB      Special Judge Alice and Bob is playing a game, and this time the game is all about the absolute value! Alice has N differ...
分类:其他好文   时间:2015-04-05 20:30:12    阅读次数:187
bzoj 2318 spoj 4060(KPGAME)
Description Alice和Bob在玩一个游戏。有n个石子在这里,Alice和Bob轮流投掷硬币,如果正面朝上,则从n个石子中取出一个石子,否则不做任何事。取到最后一颗石子的人胜利。Alice在投掷硬币时有p的概率投掷出他想投的一面,同样,Bob有q的概率投掷出他相投的一面。 现在Alice先手投掷硬币,假设他们都想赢得游戏,问你Alice胜利的概率为多少。Solution 设f[i]...
分类:其他好文   时间:2015-03-31 16:04:05    阅读次数:195
HDU 4965 Fast Matrix Calculation(矩阵快速幂)
Description One day, Alice and Bob felt bored again, Bob knows Alice is a girl who loves math and is just learning something about matrix, so he decided to make a crazy problem for her.  Bob has...
分类:其他好文   时间:2015-03-31 12:52:29    阅读次数:129
HDU 4614 Vases and Flowers(线段树+二分)
Problem Description   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 put them in the vases, one...
分类:其他好文   时间:2015-03-31 09:09:54    阅读次数:182
Sicily 1001. Alphacode
1001. AlphacodeConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionAlice and Bob need to send secret messages to each other and are discussing ways to encode their messages: Alice: "Let's jus...
分类:其他好文   时间:2015-03-31 09:03:10    阅读次数:154
JAVA学习笔记(四十三)- ThreadLocal
死锁/* * 死锁:多个线程使用不同的锁,每个线程都需要另一个线程持有的锁 * 出现:同步的嵌套 * */ public class Test01 { public static void main(String[] args) { Tom tom = new Tom(); Alice alice = new Alice(); MyT...
分类:编程语言   时间:2015-03-30 09:22:27    阅读次数:212
MapReduce处理表的自连接
原始数据 /*  * 原始数据  * 子    父  * Tom Lucy  Tom Jack  Jone Locy  Jone Jack  Lucy Mary  Lucy Ben  Jack Alice  Jack Jesse  TerryAlice  TerryJesse  PhilipAlma  Mark Terry  Mark Alma  */ 要求通过...
分类:其他好文   时间:2015-03-28 14:23:49    阅读次数:119
SDUT 2608-Alice and Bob(数学题)
Alice and Bob Time Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述     Alice and Bob like playing games very much.Today, they introduce a new game.     There is a polynomial like thi...
分类:其他好文   时间:2015-03-28 08:56:34    阅读次数:127
981条   上一页 1 ... 79 80 81 82 83 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!