自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(19)
  • 资源 (1)
  • 收藏
  • 关注

原创 android.os.Debug.waitForDebugger() 使用需谨慎

android.os.Debug.waitForDebugger() 通常用于service中的调试,但由于笔者

2014-10-08 09:42:38 1179 1

原创 SurfaceView设置背景后的无法绘图的解决方案

原本只是想给surfaceview添加一个背景图,yu

2014-09-19 16:15:13 5430 1

原创 Rightmost Digit

Problem DescriptionGiven a positive integer N, you should output the most right digit of N^N. InputThe input contains several test cases. Th

2011-07-16 21:07:51 269

原创 Buildings

Problem DescriptionWe divide the HZNU Campus into N*M grids. As you can see from the picture below, the green grids represent the buidings.

2011-07-16 15:26:26 354

原创 Biker's Trip Odometer

Problem DescriptionMost bicycle speedometers work by using a Hall Effect sensor fastened to the front fork of the bicycle. A magnet is attac

2011-07-15 23:00:51 317

原创 A+B for Input-Output Practice (VIII)

Problem DescriptionYour task is to calculate the sum of some integers. InputInput contains an integer N in the first line, and then N lines

2011-07-15 22:28:55 338

原创 A+B for Input-Output Practice (VII)

Problem DescriptionYour task is to Calculate a + b. InputThe input will consist of a series of pairs of integers a and b, separated by a spa

2011-07-15 22:17:41 429

原创 A+B for Input-Output Practice (VI)

Problem DescriptionYour task is to calculate the sum of some integers. InputInput contains multiple test cases, and one case one line. Each

2011-07-15 22:14:59 451

原创 A+B for Input-Output Practice (V)

Problem DescriptionYour task is to calculate the sum of some integers. InputInput contains an integer N in the first line, and then N lines

2011-07-15 22:08:13 314

原创 A+B for Input-Output Practice (IV)

Problem DescriptionYour task is to Calculate the sum of some integers. InputInput contains multiple test cases. Each test case contains a in

2011-07-15 22:03:30 300

原创 A+B for Input-Output Practice (III)

Problem DescriptionYour task is to Calculate a + b. InputInput contains multiple test cases. Each test case contains a pair of integers a an

2011-07-15 21:54:24 593

原创 A+B for Input-Output Practice (II)

Problem DescriptionYour task is to Calculate a + b. InputInput contains an integer N in the first line, and then N lines follow. Each line c

2011-07-15 21:46:51 390

原创 偶数求和

题目:Problem Description有一个长度为n(nInput输入数据有多组,每组占一行,包含两个正整数n和m,n和m的含义如上所述。Output对于每组输入数据,输出一个平均值序列,每组输出占一行。Sample Input3 24 2Sample Output3

2011-07-13 22:39:00 345

原创 ASCII码排序

题目:Problem Description输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。 Input输入数据有多组,每组占一行,有三个字符组成,之间无空格。 Output对于每组输入数据,输出一行,字符中间用一个空格分开。 Sample Inputqwe

2011-07-12 14:07:50 235

原创 Sum Problem

题目:Problem DescriptionHey, welcome to HDOJ(Hangzhou Dianzi University Online Judge).In this problem, your task is to calculate SUM(n) = 1 +

2011-07-11 21:23:01 253

原创 A+B for Input-Output Practice (I)

题目:Problem DescriptionYour task is to Calculate a + b.Too easy?! Of course! I specially designed the problem for acm beginners. You must hav

2011-07-11 21:12:29 854

原创 回文判别

请编写函数,判断一字符串是否为回文。若是回文函数返回值为1;否则返回值为0.回文是顺读和倒读都一样的字符串。#include#define m 100int f(char *str,int i);void main(){  char str[m];int i=0;   while

2011-07-10 21:59:45 328

原创 请用递归算法,求Fibonacci数列。

题目: 请用递归算法,求Fibonacci数列。#include#define m 100int f(int *,int n);void main(){ int n,a[m],i;  a[0]=1,a[1]=1;  scanf("%d",&n);  f(a,n);  for(i=

2011-07-10 17:03:07 2948

原创 请用递归算法,求1+2+3+...+n,n由键盘输入。

请用递归算法,求1+2+3+...+n,n由键盘输入。#includeint digui(int n);void main(){ int n; printf("请输入一个正整数n:\n"); scanf("%d",&n); n=digui(n);

2011-07-10 15:43:24 12011 1

Ruby语言入门教程

Ruby语言是一款脚本级语言,主要使用地区为日本,有着高度自由性的特点,初学者很容易上手。

2012-12-17

空空如也

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

TA关注的人

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