码迷,mamicode.com
首页 >  
搜索关键字:board    ( 2462个结果
cone crusher south Africa
The situation was similar on the big board – the TSX – with MOGS under seemingly relentless pressure. Unfortunately, copper concentrate machine for mi...
分类:其他好文   时间:2014-05-16 09:46:15    阅读次数:306
HDU 2795 Billboard (RE的可以看一看)
Problem Description At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is the place where all possible announcement...
分类:其他好文   时间:2014-05-15 19:48:31    阅读次数:348
leetcode --day12 Surrounded Regions & Sum Root to Leaf Numbers & Longest Consecutive Sequence
1、 ?? Surrounded Regions Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in that surrounded region. For e...
分类:其他好文   时间:2014-05-11 18:52:32    阅读次数:293
Leetcode: Valid Sudoku
犯了很多细节上的错误,比如忽视了“-”的存在,正是因为有“-”的存在,所以不能用if (rows.size() == i)来判断rows里面是否已经存某一行,如果不存在再row = new ArrayList();row.add(board[i][j]);rows.add(row);来添加新的一行。...
分类:其他好文   时间:2014-05-10 09:06:35    阅读次数:341
zoj 1648 Circuit Board
题目:意思就是判断给定的几条线段是否有相交的。 方法:模版吧,有空在来细细学习。 代码: #include #include using namespace std; struct Point { double x,y; }; struct LineSeg { Point a,b; }; double Cross(Point a, Point b, Poi...
分类:其他好文   时间:2014-05-10 03:39:07    阅读次数:326
嵌入式linux 内核关机函数实现
arch/arm/kernel/process.c实现pm_power_off=关机函数参考board-omap3touchbook.c文件中pm_power_off=omap3_touchbook_poweroff;staticvoidomap3_touchbook_poweroff(void) { intpwr_off=TB_KILL_POWER_GPIO; if(gpio_request_one(pwr_off,GPIOF_OUT_INIT_LOW,"DVIreset")<0..
分类:系统相关   时间:2014-05-09 07:03:00    阅读次数:470
I2C驱动实例解析
简单的说,i2c驱动也就三步吧,注册i2c设备,注册i2c设备驱动,创建sysfs文件供上层调用。 1. 注册i2c设备。 先定义一个i2c_board_info static struct i2c_board_info __initdata xxxx_i2c_info[] = { { I2C_BOARD_INFO("XXX...
分类:其他好文   时间:2014-05-07 08:34:39    阅读次数:333
用 BerryClip - 6 LED Board 显示树莓派的温度
用 BerryClip - 6 LED Board 显示树莓派的温度 BerryClip - 6 LED Board 是一个学习GPIO的开发板,适合我这样不懂硬件的童鞋,用python 控制6个LED灯,一个蜂鸣器,和一个开关 文档在这里 https://bitbucket.org/MattHawkinsUK/rpispy-berryclip/downloads/BerryClip...
分类:其他好文   时间:2014-05-04 09:38:35    阅读次数:341
更改CPU厂商信息
更改第三方手机检测到的CPU厂商型号,在kernel\arch\arm\mach-msm下面对应的Board-*.c文件里更改,比如我们是8226的CPU,就要在Board-8226.c里将DT_MACHINE_START(MSM8226_DT, "Qualcomm MSM 8226 (Flattened Device Tree)")  这里的8226改成客户指定的型号,比如要改成8926,就要这...
分类:其他好文   时间:2014-05-03 21:41:37    阅读次数:432
Leetcode | Valid Sudoku & Sudoku Solver
判断valid,没有更好的方法,只能brute force。 1 class Solution { 2 public: 3 bool isValidSudoku(vector > &board) { 4 5 int n; 6 for (int...
分类:其他好文   时间:2014-05-01 08:54:28    阅读次数:332
2462条   上一页 1 ... 244 245 246 247 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!