码迷,mamicode.com
首页 >  
搜索关键字:reduced id numbers    ( 75814个结果
poj3041(二分匹配简单题)
题目链接:http://poj.org/problem?id=3041 Asteroids Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 14022   Accepted: 7629 Description Bessie wants to...
分类:其他好文   时间:2014-05-07 05:59:05    阅读次数:366
【Leetcode】Two Sum
[Question] Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to t...
分类:其他好文   时间:2014-05-07 05:37:44    阅读次数:278
SCUT 2014 B题 Numbers (DFA有穷自动机)
题目链接:   SCUT 2014  题目大意:   判断给出的字符串中是否是正确的科学计数法                   A+1.5Be+8C,可以是实数或者含有指数的实数,ABC三个部分表示空格,可有可无,正负号可有可无                   指数部分只能是整数 解题思路:   建立有穷自动机状态转移表,一共是10种状态...
分类:其他好文   时间:2014-05-07 05:32:27    阅读次数:330
HDU 4722 Good Numbers (数位dp)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4722 思路:数位dp,dp[i][j]表示到第i位,数字和%10为j,然后进行dp,注意完全匹配的情况是要+1,而其他情况是从0 到 9 都要考虑 代码: #include #include #include #include using namespace std; int t; l...
分类:其他好文   时间:2014-05-07 04:55:37    阅读次数:314
十一周 项目2 职员有薪水了
#include using namespace std; class CPerson { protected: string m_szName; string m_szId; int m_nSex;//0:women,1:man int m_nAge; public: CPerson(string name,string id,int...
分类:其他好文   时间:2014-05-07 03:04:18    阅读次数:239
[二分+容斥原理] poj 2773 Happy 2006
题目链接: http://poj.org/problem?id=2773 Happy 2006 Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 9131   Accepted: 3073 Description Two positiv...
分类:移动开发   时间:2014-05-07 02:37:49    阅读次数:435
POJ 2121 Inglish-Number Translator
来源:http://poj.org/problem?id=2121  Inglish-Number Translator Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 4475   Accepted: 1747 Description In th...
分类:其他好文   时间:2014-05-06 23:29:32    阅读次数:419
java native interface JNI 调用Java方法
在上一篇文章中介绍了JNI,以及java调用JNI,这篇讲一下 JNI调用java方法。       通过使用合适的JNI函数,你可以创建Java对象,get、set 静态(static)和 实例(instance)的域,调用静态(static)和实例(instance)函数。JNI通过ID识别域和方法,一个域或方法的ID是任何处理域和方法的函数的必须参数。 下表列出了用以得到静态(s...
分类:编程语言   时间:2014-05-06 22:49:22    阅读次数:431
动态方法决议 和 消息转发
如果我们在 Objective C 中向一个对象发送它无法处理的消息,会出现什么情况呢?我们知道发送消息是通过 objc_send(id, SEL, ...) 来实现的,它会首先在对象的类对象的 cache,method list 以及父类对象的 cache, method list 中依次查找 SEL 对应的 IMP;这个是需要对类对象的结构熟悉,不清楚的可以参考我的下一篇文章《object...
分类:其他好文   时间:2014-05-06 21:24:33    阅读次数:450
【Android】我的时光轴_0.9.9
自己需要就做了一个app 放到了各大市场,给有需要的人 360:http://zhushou.360.cn/detail/index/soft_id/1716634...
分类:移动开发   时间:2014-05-06 18:37:20    阅读次数:326
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!