自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (2)
  • 收藏
  • 关注

转载 Android JNI和NDK学习(03)--动态方式实现JNI

面总结了静态实现JNI的方法,本文介绍如何动态实现JNI:JNI在加载时,会调用JNI_OnLoad,而卸载时会调用JNI_UnLoad,所以我们可以通过在JNI_OnLoad里面注册我们的native函数来实现JNI。下面就介绍该方法。1 Android应用层代码在eclipse中新建工程NdkLoad,工程文件NdkLoad.java的代码如下: package com.s

2014-04-25 14:11:06 404

原创 Coder-Strike 2014 - Finals (online edition, Div. 2)

A. Pasha and Hamsterstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPasha has two hamsters: Arthur and Alexander. Pa

2014-04-24 08:31:49 606

原创 UVA 127 求一组错误的测试用例

#include #include #include #include #include #define MAX(_a,_b) ((_a>_b)? _a:_b)#define MIN(_a,_b) ((_a>_b)? _b:_a)#define DEBUGtypedef struct stack{    int num;    int pos[52]

2013-09-03 15:56:26 646

原创 TOPCODE/SRM567 DIVII 250、500PT

Problem Statement  The Ninja Turtles often battle the Foot Clan ninjas. The Turtles celebrate each victory with a pizza party. The amount of pizza they eat depends on the number of opponents

2013-01-25 23:11:28 581 2

原创 TOPCODER/SRM 566 DIVII(250、500、1000题)(1000PT暂未附上代码)

Problem Statement  Percy has just received a new game called Penguin Tiles. The game is played on a rectangular grid.Except for one square, each square of the grid contains a tile wi

2013-01-13 14:53:20 723

原创 黑苹果10.6.4安装完成

花了一天时间,把Mac 10.6.4安装在了老机上。。。 目前还可以用。。。 声卡和显卡驱动问题已经解决,网卡驱动还在寻找中。。。先上配置: 电脑型号 宏碁 Aspire 5570 笔记本电脑处理器 英特尔 T2500 @ 2.00GHz 双核主板 宏碁 Prespa1 (英特尔 945GM/GT/GU/PM/GMS/940GML/943GML - ICH7M/U 笔记

2013-01-03 22:43:12 1753

原创 TOPCODER/SRM565 DIVII 250、500pt(500pt无递归解法)

250pt:Problem Statement  A histogram of a given collection of numbers graphically represents the frequency of each value in the collection. We are given several numbers ranging f

2012-12-31 12:28:17 528

原创 Topcoder/SRM565

SRM565 DIV II:Problem Statement    A divisible sequence with starting value N and length H is a sequence of positive integers with the following properties:The sequence has H elements, labeled

2012-12-31 11:11:04 399

C语言链表实现学生信息管理系统demo

利用C语言双向链表实现的学生信息管理系统Demo

2013-10-21

迷宫求解(穷举法)c++

使用穷举法编写的C++迷宫解法。使用了数组操作模拟栈的操作。

2012-12-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除