码迷,mamicode.com
首页 >  
搜索关键字:iv    ( 2286个结果
android 关于截屏保存图片到相册功能
iv_photo.buildDrawingCache(); iv_photo.setBackgroundColor(mContext.getResources().getColor(R.color.TextColorWhite)); ...
分类:移动开发   时间:2015-04-28 15:42:35    阅读次数:244
蛋疼的 qii 神马警告才是需要注意的警告?(由于警告引起的截然不同的运行结果)
移植了一份程序,之前工程是Cyclone II 后来换成 Cyclone IV EEP4CE10E22C8用到的资源:pll,sdram,vga移植办法:1、更改工程配置,重新选择ic2、重新分配管脚3、编译下载至目标板4、运行ok以下是这个项目的一些重要信息再看看警告如此蛋疼的警告,虽然28个但是...
分类:其他好文   时间:2015-04-26 09:09:33    阅读次数:4647
Marriage Match IV (hdu 3416 网络流+spfa最短路)
题意:有n个城市m条边,告诉起点和终点,问从起点到终点不走重复边的最短路有多少条。 思路:求最短路的条数可以用最大流,建图时要去掉不是最短路上的边,判断某条边是不是最短路上的边:如果满足dist1[u] + dist2[v] + E1[i].len = dist1[End]则可以说明该边是最短路上的边,其中 dist1[] 为各点到起点的最短距离,dist2[] 为各点到终点的最短距离。...
分类:其他好文   时间:2015-04-25 12:19:41    阅读次数:178
php aes cbc
class?aes_mcrypt?{ ????private?$hex_iv?=?‘00000000000000000000000000000000‘;?#?converted?JAVA?byte?code?in?to?HEX?and?placed?it?here ????function?__construct($key)?{ ??...
分类:Web程序   时间:2015-04-24 17:03:28    阅读次数:207
hdu 1029 Ignatius and the Princess IV DP
Ignatius and the Princess IVTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1029Description"OK, you are not too bad...
分类:其他好文   时间:2015-04-24 14:08:39    阅读次数:154
动态规划:Ignatius and the Princess IV
#include#include#includeint main(){ _int64 n,a; while(scanf("%I64d",&n)!=EOF) { _int64 b=0,c; while(n--) { sc...
分类:其他好文   时间:2015-04-23 21:10:13    阅读次数:152
HDU 1029 Ignatius and the Princess IV
水题啊,说好的dp呢 刚开始的想法是hash,但题目数据范围没给出来。一直在想怎么用dp 然后看了看解题报告,解法太简单了,因为一定有某数出现次数比其他所有的数出现次数加起来都大,所以用个计数器互相抵消就可以了。 #include int main(){ #ifndef ONLINE_JUDGE freopen("in.txt","r",stdin); #endif int n; ...
分类:其他好文   时间:2015-04-23 15:46:21    阅读次数:173
HDU ACM 1029-Ignatius and the Princess IV
分析:互相抵消,最后不能被抵消的就是最多的。 #include using namespace std; int main() { int n,a,i; int ans,sum; while(cin>>n) { for(i=0;i>a; if(i==0) { sum=1; ans=n; } else i...
分类:其他好文   时间:2015-04-21 20:45:12    阅读次数:104
(2 sat) poj 3207
Ikki's Story IV - Panda's TrickTime Limit:1000MSMemory Limit:131072KTotal Submissions:8437Accepted:3101Descriptionliympanda, one of Ikki’s friend, lik...
分类:其他好文   时间:2015-04-19 19:18:04    阅读次数:152
x86、i386、i486、i586、i686和x86_64
x86、i386、i486、i586、i686和x86_64 1.386与686i386—几乎所有的X86平台,不论是旧的pentum或者是新的pentum-IV与K7系统CPU,都可以正常工作,i指得是Intel兼容的CPU,至于386就是CPU的等级。i586—就是586等级的计算机,包括pen...
分类:其他好文   时间:2015-04-19 06:23:56    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!