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

cynchanpin

  • 博客园
  • 联系
  • 订阅
  • 管理
上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 149 下一页

2017年6月20日

Reverse Nodes in k-Group

摘要: 题目 Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k the 阅读全文

posted @ 2017-06-20 13:42 cynchanpin 阅读(252) 评论(0) 推荐(0)

2017年6月19日

android获取当前软件版本号号和版本号名称

摘要: <span style="font-size:18px;">/** * 获取本地软件版本号 */ public static int getLocalVersion(Context ctx) { int localVersion = 0; try { PackageInfo packageInfo 阅读全文

posted @ 2017-06-19 18:53 cynchanpin 阅读(24917) 评论(0) 推荐(0)

怎样在windows7上使用snmp命令

摘要: 原文地址:http://wenboxz.com/archives/window7-use-snmp-command.html/ 阅读全文

posted @ 2017-06-19 17:42 cynchanpin 阅读(1352) 评论(0) 推荐(0)

怎样获取彩色图像中的主色彩

摘要: 一:基本思路对于一张RGB色彩空间的彩色图像,非常多时间我们想通过程序获得该图像有几种基本的色彩。可是对一般图像来说。在色彩交界处都是通过像素混合来实现自然过渡,所以直接扫描图像的像素值,得到的不同颜色值可能多达上百中。而实际上图像可能仅仅有3~4种的主要色彩。怎样去掉那些混合颜色,准确提取出来这3 阅读全文

posted @ 2017-06-19 16:20 cynchanpin 阅读(568) 评论(0) 推荐(0)

Android自己定义处理崩溃异常

摘要: 用过安卓手机的用户以及安卓开发人员们会时长碰到程序异常退出的情况。普通用户遇到这样的情况,肯定非常恼火,甚至会骂一生垃圾软件,然后卸载掉。那么开发人员们在开发过程中遇到这样的情况给怎么办呢,当然,你不可能世界上的每一个安卓手机你都要试试你的程序有没有异常,这是无法办到的事情,所以最好的办法就是。当普 阅读全文

posted @ 2017-06-19 15:47 cynchanpin 阅读(1012) 评论(0) 推荐(0)

HDU 3415 Max Sum of Max-K-sub-sequence 单调队列题解

摘要: 本题又是一题单调队列题解。 技巧就是须要计算好前n项和Sn = a1 + a2 + ... an 这样方便处理。 记录一条单调队列,其意义是: q(head), q(head+1), ...q(tail) 当中头q(head)代表当前最佳解的起点 这样我们仅仅须要在求某点为结尾的S[i] - S[q 阅读全文

posted @ 2017-06-19 14:34 cynchanpin 阅读(190) 评论(0) 推荐(0)

第三次个人赛题目1【大数】

摘要: 问题 A: 做不出来踢协会!。。 时间限制: 1 Sec 内存限制: 128 MB 提交: 289 解决: 33 [提交][状态][讨论版] 题目描写叙述 这是今天最水的一道题,假设没写出来的,呵呵。踢协会。 给你两个整数a和b。输出较大的数,若两个数相等输出任一个都能够。这么水啊。。。 输入 输入 阅读全文

posted @ 2017-06-19 14:01 cynchanpin 阅读(173) 评论(0) 推荐(0)

网络载入数据和解析JSON格式数据案例之空气质量监測应用

摘要: 一、创建一个新的项目 activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" a 阅读全文

posted @ 2017-06-19 13:01 cynchanpin 阅读(344) 评论(0) 推荐(0)

概率dp HDU 3853

摘要: H - LOOPS Time Limit:5000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 3853 Appoint description: System Crawler (20 阅读全文

posted @ 2017-06-19 11:35 cynchanpin 阅读(210) 评论(0) 推荐(0)

poj2031-Building a Space Station(最小生成树,kruskal,prime)

摘要: Building a Space Station Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 5874 Accepted: 2914 Description You are a member of the space stat 阅读全文

posted @ 2017-06-19 10:53 cynchanpin 阅读(313) 评论(0) 推荐(0)

上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 149 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3