码迷,mamicode.com
首页 >  
搜索关键字:known    ( 1617个结果
Command-line interface
Acommand-line interface(CLI), also known ascommand-line user interface,console user interface,andcharacter user interface(CUI), is a means of interact...
分类:其他好文   时间:2014-10-22 23:35:47    阅读次数:245
POJ 1330 Nearest Common Ancestors(Tarjan离线LCA)
Description A rooted tree is a well-known data structure in computer science and engineering. An example is shown below:    In the figure, each node is labeled with an integer from {1, 2,...,16...
分类:其他好文   时间:2014-10-22 01:09:09    阅读次数:199
poj1080--Human Gene Functions(dp:LCS变形)
Human Gene Functions Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 17206   Accepted: 9568 Description It is well known that a human gene can be considered as...
分类:其他好文   时间:2014-10-21 21:43:21    阅读次数:385
zoj 3673 1729
1729Time Limit: 3 Seconds Memory Limit: 65536 KB1729 is the natural number following 1728 and preceding 1730. It is also known as the Hardy-Ramanujan....
分类:其他好文   时间:2014-10-21 15:17:11    阅读次数:196
ZOJ 3829 Known Notation(贪心)
题目链接题意 :给你一个字符串,但是空格丢失,问你需要多少次操作能够让这个字符串可以看成合法的逆波兰式,例如12*3*4不是合法的逆波兰式,但是12*34*可以看成1 2*34*是正确的逆波兰式。思路 :当数字的个数比操作符的个数多的时候显然交换所用的操作次数少,只要把操作符往最后换即可。题目中隐含...
分类:其他好文   时间:2014-10-21 11:45:16    阅读次数:162
ZOJ 3829 Known Notation (2014牡丹江H题)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5383 Known Notation Time Limit: 2 Seconds      Memory Limit: 65536 KB Do you know reverse Polish notation (RPN)? It is a ...
分类:其他好文   时间:2014-10-20 23:26:54    阅读次数:388
each of which 用法
each of which 在以下為 同位語,非關代。1. An urn contains two balls, each of which is known to be either white or black.2. Q. Many companies set a number of objec...
分类:其他好文   时间:2014-10-19 19:50:19    阅读次数:211
Known Notation
题目地址:Known Notation解题思路: o(︶︿︶)o 唉。代码: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 ...
分类:其他好文   时间:2014-10-17 21:44:44    阅读次数:200
ZOJ 3829 Known Notation 贪心
主要的贪心思想就是,如果有一个不合法的*,那么再他前面加1或者2个数字的花费是不可能小于把它和后面的数字交换的,所以把不合法星号尽可能的往后放即可。这里我因为懒得特判,把每个情况都算了,不过n只有1000,n^2也是可以接受的。#include #include #include #include ...
分类:其他好文   时间:2014-10-17 21:44:37    阅读次数:136
NYOJ129 树的判定 【并查集】
树的判定 时间限制:1000 ms  |  内存限制:65535 KB 难度:4 描述 A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edge...
分类:其他好文   时间:2014-10-17 09:23:24    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!