• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

cynchanpin

  • 博客园
  • 联系
  • 订阅
  • 管理
上一页 1 ··· 130 131 132 133 134 135 136 137 138 ··· 149 下一页

2017年4月24日

sql 改动表以及表字段

摘要: 用SQL语句加入删除改动字段 1.添加字段 alter table docdsp add dspcode char(200) alter table tbl add meet_group int2 2.删除字段 ALTER TABLE table_NAME DROP COLUMN column_NA 阅读全文

posted @ 2017-04-24 15:55 cynchanpin 阅读(165) 评论(0) 推荐(0)

AES加密解密

摘要: 因为项目须要。所以近期看了下AES的加密解密,话不多说,直接看实现: 加密: // 加密 private static byte[] encrypt(String content, String password) { try { KeyGenerator kgen = KeyGenerator.g 阅读全文

posted @ 2017-04-24 14:22 cynchanpin 阅读(183) 评论(0) 推荐(0)

codeforces#277.5 C. Given Length and Sum of Digits

摘要: C. Given Length and Sum of Digits... time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You 阅读全文

posted @ 2017-04-24 13:05 cynchanpin 阅读(175) 评论(0) 推荐(0)

nyoj42一笔画问题(欧拉图)

摘要: 这题事实上说不上难度4。仅仅是一个简单的欧拉图推断,给一些点,首先推断连通性。假设不连通。就谈不上是欧拉图。 假设是连通的,在推断度的数目,每一个顶点都是偶数个或者仅仅有两个是奇数个。这样就能够构成欧拉图。 一笔画问题 时间限制:3000 ms | 内存限制:65535 KB 难度:4 描写叙述 z 阅读全文

posted @ 2017-04-24 11:28 cynchanpin 阅读(264) 评论(0) 推荐(0)

zigbee 学习笔记

摘要: 在德州仪器的站点:http://www.ti.com.cn/tool/cn/z-stack上下载安装zigbee2007协议栈版,我的是ZStack-CC2530-2.3.0-1.4.0。 以下演示一个简单的用zigbee通信的样例: 完毕这个样例须要两个zigbee的模块,一个用作协调器(Coor 阅读全文

posted @ 2017-04-24 10:31 cynchanpin 阅读(1818) 评论(0) 推荐(0)

HDU 4886 TIANKENG’s restaurant(Ⅱ) hash+dfs

摘要: 题意: 1、找一个字符串s使得 s不是给定母串的子串 2、且s要最短 3、s在最短情况下字典序最小 hash。,,结果t掉了。。。加了个姿势怪异的hash值剪枝才过。。 #include <cstdio> #include <cstdlib> #include <map> #include <set 阅读全文

posted @ 2017-04-24 09:33 cynchanpin 阅读(168) 评论(0) 推荐(0)

hdu 1244 DP

摘要: 水DP dp[i%2][j]=Max(dp[i%2][j-1],dp[1-i%2][j-l[i]]+sum[j]-sum[j-l[i]]); #include "stdio.h" #include "string.h" int Max(int a,int b) { if (a<b) return b 阅读全文

posted @ 2017-04-24 08:31 cynchanpin 阅读(190) 评论(0) 推荐(0)

2017年4月23日

ACM-最短路(SPFA,Dijkstra,Floyd)之最短路——hdu2544

摘要: ***************************************转载请注明出处:http://blog.csdn.net/lttree*************************************** 最短路 Time Limit: 5000/1000 MS (Java/O 阅读全文

posted @ 2017-04-23 21:58 cynchanpin 阅读(2031) 评论(0) 推荐(0)

Linux音频驱动简述

摘要: 一、数字音频 音频信号是一种连续变化的模拟信号,但计算机仅仅能处理和记录二进制的数字信号。由自然音源得到的音频信号必须经过一定的变换,成为数字音频信号之后,才干送到计算机中作进一步的处理。 数字音频系统通过将声波的波型转换成一系列二进制数据,来实现对原始声音的重现,实现这一步骤的设备常被称为模/数转 阅读全文

posted @ 2017-04-23 21:08 cynchanpin 阅读(685) 评论(0) 推荐(0)

[leetcode]Remove Duplicates from Sorted Array II

摘要: 问题描写叙述: Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array A = [1,1,1,2,2,3], Your funct 阅读全文

posted @ 2017-04-23 20:18 cynchanpin 阅读(132) 评论(0) 推荐(0)

上一页 1 ··· 130 131 132 133 134 135 136 137 138 ··· 149 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3