码迷,mamicode.com
首页 >  
搜索关键字:codes    ( 556个结果)
usaco Hamming Codes
题目很简单,找出N个二进制下长度为B的,且两两之间二进制位上至少有D位不同 暴力枚举就好了/*ID: modengd1PROG: hammingLANG: C++*/#include #include #include using namespace std;int sta[64];bool sl....
分类:其他好文   时间:2015-09-03 14:04:02    阅读次数:126
tiny4412学习一:编译uboot,体验裸机
首先,我们在ubuntu建立一个自己的文件夹,我的是:?/home/wang/tiny_4412下有datasheet shc(原理图PCB文件夹) src toolssrc下有codes u_bootcode??s是裸机存放位置,u_boot?是友善提供的安装包?tools下有?arm-linux...
分类:其他好文   时间:2015-08-31 23:22:17    阅读次数:151
[LeetCode] Integer to English Words
This problem is not difficult. But it is not easy to have a bug-free code. As you write your codes according to the hints, the most important thing is...
分类:其他好文   时间:2015-08-31 21:21:12    阅读次数:161
USACO-Section 2.1 Hamming Codes (DFS)
由于0是最小的数,所以0必须有,然后DFS搜索即可,由于是从小到大枚举,所以找到的第一个就是题目所求答案。...
分类:其他好文   时间:2015-08-31 19:43:05    阅读次数:118
PAT Huffman Codes
In 1953, David A. Huffman published his paper "A Method for the Construction of Minimum-Redundancy Codes", and hence printed his name in the history o...
分类:其他好文   时间:2015-08-31 17:11:42    阅读次数:342
Android状态栏透明(沉浸式效果)
Android状态栏透明(沉浸式效果)默认效果沉浸式效果方式一源码下载地址(Android Studio工程):http://download.csdn.net/detail/q4878802/90582751. 修改状态栏和导航栏的属性为透明if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { //透明状态栏 getW...
分类:移动开发   时间:2015-08-28 17:42:14    阅读次数:494
[转]ZwQuerySystemInformationNTSTATUS codes(驱动错误码对照表)
These are from the Windows .NET Server 2003 RC2 DDK. 00000000 STATUS_SUCCESS 00000000 STATUS_WAIT_0 00000001 STATUS_WAIT_1 00000002 STATUS_WAIT_2 0000...
分类:其他好文   时间:2015-08-21 19:28:48    阅读次数:320
android 自定义ViewGroup实现可记载并呈现选择的ListView
转载请注明出处:王亟亟的大牛之路之前也做过一些用TextView之类的记录ListView选项的东西,但是总觉得好难看,发现个不错的实现就贴给大家。项目目录 运行效果: 自定义视图:@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH) public class FlowLayout extends ViewGroup { private...
分类:移动开发   时间:2015-08-18 14:19:33    阅读次数:235
早期学习写壳代码
早期自己弄的一些东西,大牛绕过。 入门写壳的同学可以参考看看。 效果如下: Java 层:package com.droider.crackme0201; import java.lang.String; import android.app.Application; import android.content.Context; import android.content.res.Co...
分类:其他好文   时间:2015-08-10 14:55:54    阅读次数:131
[LeetCode] Binary Tree Maximum Path Sum
A relatively difficult tree problem. Well, a recursive solution still gives clean codes. The tricky part of this problem is how to record the result. ...
分类:其他好文   时间:2015-08-04 22:41:28    阅读次数:92
共556条   上一页 1 ... 38 39 40 41 42 ... 56 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!