码迷,mamicode.com
首页 >  
搜索关键字:the love-letter mystery    ( 67个结果
The Love-Letter Mystery
TheLove-LetterMystery#include<cmath> #include<cstdio> #include<vector> #include<iostream> #include<algorithm> #include<string> usingnamespacestd; intmain(){ intT; cin>>T; stringstr; getline(cin,str); while(T--) {..
分类:其他好文   时间:2014-09-26 00:39:28    阅读次数:253
POJ 2115-C Looooops(扩展欧几里德)
C Looooops Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 17981   Accepted: 4694 Description A Compiler Mystery: We are given a C-language style for loop of...
分类:其他好文   时间:2014-09-04 19:11:50    阅读次数:165
poj2115--C Looooops(扩展gcd)
C Looooops Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 17740   Accepted: 4600 Description A Compiler Mystery: We are given a C-language style for loop of t...
分类:其他好文   时间:2014-08-08 21:22:56    阅读次数:284
B - Encoded Love-letter 字符串的处理
B - Encoded Love-letter Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1591DescriptionAfter Gardon had...
分类:其他好文   时间:2014-08-03 12:41:25    阅读次数:194
【HackerRank】The Love-Letter Mystery
James找到了他的朋友Harry要给女朋友的情书。James很爱恶作剧,所以他决定要胡搞一下。他把信中的每个单字都变成了回文。对任何给定的字符串,他可以减少其中任何一个字符的值,例如'd'可以变成'c',这算是一次操作。(另外,他最多只能将字符的值减少至'a','a'不能再被减少成'z')。找出将...
分类:其他好文   时间:2014-07-29 17:16:12    阅读次数:295
[2012山东ACM省赛] Pick apples (贪心,全然背包,枚举)
Pick applesTime Limit: 1000MS Memory limit: 165536K题目描写叙述Once ago, there is a mystery yard which only produces three kinds of apples. The number of ea...
分类:移动开发   时间:2014-05-26 00:24:52    阅读次数:443
[2012山东ACM省赛] Pick apples (贪心,完全背包,枚举)
Pick apples Time Limit: 1000MS Memory limit: 165536K 题目描述 Once ago, there is a mystery yard which only produces three kinds of apples. The number of each kind is infinite. A girl carrying a...
分类:移动开发   时间:2014-04-29 13:18:22    阅读次数:489
67条   上一页 1 ... 5 6 7
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!