码迷,mamicode.com
首页 >  
搜索关键字:low poly    ( 2316个结果
[Jobdu]题目1367:二叉搜索树的后序遍历序列
1 #include 2 3 int isValid(int a[], int low, int high) { 4 if (low >= high) 5 return 1; 6 7 int root = a[high]; 8 int i = lo...
分类:其他好文   时间:2015-08-04 20:41:51    阅读次数:144
[Jobdu] 题目1516 : 调整数组顺序使奇数位于偶数前面
void adjustArray(int a[], int n) { int low = 0, high = n - 1; int pivot; while (low < high) { while (a[high] % 2 == 0 && low < high) ...
分类:编程语言   时间:2015-08-03 18:27:14    阅读次数:151
该找什么样的工作
在本科毕业之后,大家就觉得,我擦,JAVA好low, 我擦,J2EE好low。甚至因为我做了一段时间web开发,就叫我web狗。自然而然的,找工作打死也不知道java web开发了。于是来到了这里干起了openstack的运维和少量的开发。随着毕业季的来临,突然发现这个工作不好找,就算找到,也...
分类:其他好文   时间:2015-08-02 21:34:56    阅读次数:103
杨氏矩阵
杨氏矩阵#include<stdio.h>#include<stdlib.h>#defineLOW3#defineLINE3search(chara[][LOW],intnum){ inti=0; intj=0; for(i=0;i<LINE;i++) { for(j=0;j<LOW;j++) { if(a[i][j]==num) return1; } }}intmain(){ chara[3][3]={{1,2,3},{4,5,6},{7,8,9}..
分类:其他好文   时间:2015-08-02 06:44:14    阅读次数:123
无向图的双连通分量(tarjan模板)
#include #include #include #include #include #include using namespace std; #define maxn 7500 #define inf 0x3f3f3f3f int n,m; int g[maxn][maxn]; int clock; int low[maxn],pre[maxn]; stacks; int bc; vect...
分类:其他好文   时间:2015-08-01 19:02:31    阅读次数:112
无向图的割顶和桥(tarjan模板)
#include #include #include #include using namespace std; #define maxn 7500 #define inf 0x3f3f3f3f int first[maxn],to[maxn],nxt[maxn],e; int pre[maxn],low[maxn]; int clock; int iscut[maxn]; void add(in...
分类:其他好文   时间:2015-08-01 17:27:14    阅读次数:98
hiho图的联通性(自留)
无向图割边割点算法而当(u,v)为树边且low[v]>dfn[u]时,表示v节点只能通过该边(u,v)与u连通,那么(u,v)即为割边。 1 void dfs(int u) { 2 //记录dfs遍历次序 3 static int counter = 0; 4 5 ...
分类:移动开发   时间:2015-07-31 21:38:31    阅读次数:296
leetCode(52):Add Binary
Given two binary strings, return their sum (also a binary string). For example, a = "11" b = "1" Return "100". 题目并不复杂,以下是我的程序,后面是别人的程序,瞬间low了好大一截! 冗长!!!!!!!class Solution { public: s...
分类:其他好文   时间:2015-07-29 01:08:13    阅读次数:133
测试STM32F4中断向量表移到内部RAM对中断响应速度的影响
测试环境:STM32F407168MHz,IAR7.4,优化级别low测试方法:第一个信号是TIM比较器的输出,同时产生比较器中断。中断服务程序里第一句就立即拉高一个GPIO,示波器查两个信号的延迟大致了解中断响应速度。中断向量表在Flash,中断服务程序在Flash,延迟约155ns:中断向量表在内..
分类:其他好文   时间:2015-07-28 06:50:32    阅读次数:367
BLE in Linux : Set a Simple Peripheral
Resuming from last article , I modify the bluez code to be a simple peripheral (GATT server). Step 0.   download the last bluez .  and      Step 1. use the parameters to configurate...
分类:系统相关   时间:2015-07-28 00:56:22    阅读次数:1621
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!