码迷,mamicode.com
首页 >  
搜索关键字:alice and bob    ( 1671个结果
ZOJ 3789 Gears
并查集, 删除节点操作,可以用新建节点代替 维护每个点到跟节点的距离 Gears Time Limit: 2 Seconds      Memory Limit: 65536 KB Bob has N (1 ≤ N ≤ 2*105) gears (numbered from 1 to N). Each gear can rotate clockwise or co...
分类:其他好文   时间:2014-06-07 11:33:37    阅读次数:227
Swift函数和闭包
函数 Swift 使用func关键字声明函数:1 func greet (name: String, day: String) -> String {2 return "Hello \(name), today is \(day)."3 }4 greet ("Bob", "Tuesday"...
分类:其他好文   时间:2014-06-06 07:49:12    阅读次数:340
给Arduino打电话 — Twilio云通讯
怎样 用你的电话 呼叫Arduino,用Twilio和Yaler.net就可以做到! Twilio是一个网页服务器,可以把所有的消息都转移到电话中。这是一个用于电话通讯的REST API,托管于云服务器。基于这样的环境,当有人呼叫Arduino预先设好的电话号时,Twilio向Arduino请求一个新的voice.xml文件。响应内容读给呼叫人Alice,一端发向语音识别引擎的Twilio的文本的语音。...
分类:其他好文   时间:2014-06-05 10:01:14    阅读次数:712
python学前班-why&“安装”
why???Cause I‘m lazy!!!XD。。。很早之前就想学python,正好微信订阅了crossin编程教室的公众号,时不时瞄一两眼。上个礼拜六误打误撞被朋友拐去了Pycon APAC 2014,正巧看到Bob把code和music结合起来玩,还蛮有意思的。那,这次是不是应该下决心有所行...
分类:编程语言   时间:2014-05-22 14:25:25    阅读次数:282
UVA之1330 - City Game
【题目】 Bob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up by areas, in which there are streets, trees, factories and...
分类:其他好文   时间:2014-05-22 13:09:50    阅读次数:247
XTU1168:Alice and Bob(二维DP)
Problem Description Alice and Bob always love to play games, so does this time.  It is their favorite stone-taken game.  However, this time they does not compete but co-operate to finish this tas...
分类:其他好文   时间:2014-05-22 11:15:07    阅读次数:242
HDU 3910 Liang Guo Sha
HDU 3910 Liang Guo Sha 题目大意: If both of them choose “Sha”, then Alice gets A points, and Bob loses A points; if both of them choose “Shan”, then Alice gets B points, and Bob loses B points; otherwise, Bob gets C points, and Alice loses C points. 给定A B ...
分类:其他好文   时间:2014-05-22 06:22:40    阅读次数:281
What is a Digital Signature?
Bob(Bob‘spublickey)(Bob‘sprivatekey)Bobhasbeengiventwokeys.OneofBob‘skeysiscalledaPublicKey,theotheriscalledaPrivateKey.Bob‘sCo-workers:AnyonecangetBob‘sPublicKey,butBobkeepshisPrivateKeytohimselfPatDougSusanBob‘sPublickeyisavailabletoanyonewhoneedsit,buthe..
分类:其他好文   时间:2014-05-21 00:05:52    阅读次数:478
数字签名与数字证书技术简介
数字签名、数字证书等技术,是现代信息安全的核心技术,可谓使用面十分广泛。其基本理论本身并不复杂,本文希望通过深入浅出的介绍,能够让大家有一些基本了解。   一、对称加密、非对称加密 让我们通过一个例子开始:我们的主角分别是Alice和Bob。现在假设Alice要给Bob发送一份文件,文件内容非常机密。Alice不希望文件在发送的过程中被人截取而泄密。 这个时候,自然想到的方法就是对文件进行...
分类:其他好文   时间:2014-05-20 14:28:27    阅读次数:300
ZOJ 3757 Alice and Bob and Cue Sports(模拟)
题目链接题意 : 玩台球。Alice 和 Bob,一共可以进行m次,Alice 先打。有一个白球和n个标有不同标号的球,称目标球为当前在桌子上的除了白球以外的数值最小的球,默认白球的标号为0。如果白球落入洞中,要把白球拿出来放在桌子上,如果是其他的球就不拿哪怕是犯规打进去的。每打一局(每一局代表每人...
分类:其他好文   时间:2014-05-19 20:02:50    阅读次数:233
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!