- 博客(14)
- 资源 (3)
- 收藏
- 关注
原创 欢迎使用优快云-markdown编辑器
public static int[] selectionSort(int[] arr){ int n = arr.length; for (int x = 0; x < n; x++){ int index_of_min = x; for (int y = x; y < n; y++){ if(arr[index_of_min
2016-02-09 10:14:58
537
转载 电感电容电解电容测量仪
'****************************************************'* 电感电容电解电容测量仪 *'* 电容:1P-2.5uF *'* 电感:1uH-2.0H *
2012-07-18 20:25:54
1480
转载 balance
//-----------------------------------------------------------------------------// PWM计算函数//-----------------------------------------------------------------------------void PWM_calculate(void){
2012-05-19 20:16:26
1357
转载 官方代码拆解
//==============================================================================// INPUT GRAVITY ACCELERATION AND GYROSCOPE //---------------------------------------------------------------------
2012-05-13 01:54:30
3126
原创 吹风榜模板
;BACKGROUND-ATTACHMENT: fixed; "> 魔区吹风榜第66期 小标题小标题小标题小标题小标题小标题小标题小标题小标题 主吹人:SB1、SB2、SB3。
2012-04-14 12:24:26
1762
原创 DS1302
虽然程序大部分是一个网友的(我只改了3个函数),思路也是别人的。可是看在我搞了1天的份上面还是算原创吧,o(∩_∩)o...注意那个IO口要和电源间接个电阻哦,还有我的外接电源用的手机电池,为这个去买充电电池不划算的 # include /************
2011-08-22 22:07:35
3184
原创 时间,日期,菜单调节
#include /************************************************ 主程序 定义区************************************************///=============
2011-08-16 18:38:24
915
原创 C++试验1、2
<br />/*exp3_1.cpp*/#include <string>#include <iostream>#include "1.h"void main() { welcome we; welcome you(we); you.Display(); you.set("How are you?"); cout<<you.Get()<<endl; you.talk(); you.Display(); }<br /> <br /> <b
2011-04-27 15:08:00
825
原创 大数加法,整数,正数
<br />#include <stdio.h>#include <stdlib.h>typedef struct large_num_part{ struct large_num_part *last;//record last struct's adress,the first struct's is '/0' char num; //record number part, each has 1 number struct l
2011-04-05 13:50:00
685
原创 [斯坦福开放课程.编程方法].作业.1-4.Karel将Beeper放在中间
<br />Assignments.1-4.MidpointFindingKarel.Programme Ethodology.Stanford Open Course.<br />Problem 4<br />As an exercise in solving algorithmic problems, program Karel to place a single beeper at<br />the center of 1st Street. For example, if Karel starts
2011-02-06 22:43:00
2832
2
原创 1-3.CheckerboardKarel.Hanouts.Programme Ethodology.Stanford Open Course.斯坦福开放课程-编程方法-作业1-3
Problem 3In this exercise, your job is to get Karel to create a checkerboard pattern of beepers insidean empty rectangular world, as illustrated in the following before-and-after diagram:This problem has a nice decomposition structure along with some inter
2011-02-01 16:06:00
1385
原创 1-2.StoneMasonKarel.Hanouts.Programme Ethodology.Stanford Open Course.斯坦福开放课程-编程方法-作业1-2
Problem 2Karel has been hired to repair the damage done to the Quad in the 1989 earthquake. Inparticular, Karel is to repair a set of arches where some of the stones (represented bybeepers, of course) are missing from the columns supporting the arches, as
2011-02-01 16:01:00
1238
原创 1-1.CollectNewspaperKarel.Hanouts.Programme Ethodology.Stanford Open Course.斯坦福开放课程-编程方法-作业1-1
/* * File: CollectNewspaperKarel.java * -------------------------------- * At present, the CollectNewspaperKarel subclass does nothing. * Your job in the assignment is to add the necessary code to * instruct Karel to walk to the door of its house
2011-02-01 15:41:00
909
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人