虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

1<b>7</b>3

  • 一个串口应用程序

    一个串口应用程序,向串口内写入1,2,3,4,5,6,7,8,9 并从串口中读出数据 输出到ARM板屏幕上

    标签: 串口 应用程序

    上传时间: 2014-01-22

    上传用户:caiiicc

  • 哥德巴赫猜想: 将一给定的偶数表示成两个质数之和被称之为此数的哥德巴赫分割。例如

    哥德巴赫猜想: 将一给定的偶数表示成两个质数之和被称之为此数的哥德巴赫分割。例如, 4 = 2 + 2 6 = 3 + 3 8 = 3 + 5 10 = 3 + 7 = 5 + 5 12 = 5 + 7 14 = 3 + 11 = 7 + 7 … 换句话说,哥德巴赫猜想主张每个大于等于 4 的偶数都是哥德巴赫数-可表示成两个质数之和的数。[1]另有对奇数的相似猜想,称之为李维猜想。

    标签: 分割

    上传时间: 2014-01-13

    上传用户:xyipie

  • 编号为1

    编号为1,2,3,……,n的n个人按顺时针方向围坐一圈。任选一个正整数作为报数上限m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。

    标签:

    上传时间: 2017-06-04

    上传用户:rocwangdp

  • ssd7的练习1

    ssd7的练习1,2,3,希望对大家有所帮助!

    标签: ssd7

    上传时间: 2014-11-22

    上传用户:wl9454

  • //颜色初始化 if(!has_colors() || start_color() == ERR){ endwin() printf("Terminal does not su

    //颜色初始化 if(!has_colors() || start_color() == ERR){ endwin() printf("Terminal does not support color.\n") exit(1) } init_pair(1, COLOR_GREEN, COLOR_BLACK) init_pair(2, COLOR_RED, COLOR_BLACK) init_pair(3, COLOR_CYAN, COLOR_BLACK) init_pair(4, COLOR_WHITE, COLOR_BLACK) init_pair(5, COLOR_MAGENTA, COLOR_BLACK) init_pair(6, COLOR_BLUE, COLOR_BLACK) init_pair(7, COLOR_YELLOW, COLOR_BLACK) //写字符串 for(i = 1 i <= 7 i++) { attron(COLOR_PAIR(i)) printw("color pair d in normal mode\n", i) } for(i = 1 i <= 7 i++) { attron(COLOR_PAIR(i) | A_BLINK | A_UNDERLINE) printw("color pair d in normal mode\n", i) }

    标签: start_color has_colors Terminal endwin

    上传时间: 2014-01-14

    上传用户:vodssv

  • 单片机的数字时钟

    单片机的数字时钟,有修改时间功能,通过7段数码管显示,通过1,2,3按键进行年月日的切换。

    标签: 单片机 数字时钟

    上传时间: 2013-11-27

    上传用户:lhw888

  • //温度数码管显示演示程序 //数码管位选信号 :由右到左为P20、P21、P22、P23、P24、P33 //数码管数据线 :P0口 //数码管数字码 :0 0xC0

    //温度数码管显示演示程序 //数码管位选信号 :由右到左为P20、P21、P22、P23、P24、P33 //数码管数据线 :P0口 //数码管数字码 :0 0xC0 1 0xF9 2 0xA4 3 0xB0 4 0x99 5 0x92 6 0x82 7 0xF8 8 0x80 9 0x90 //数码管带点码 :0 0x40 1 0x79 2 0x24 3 0x30 4 0x19 5 0x12 6 0x02 7 0x78 8 0x00 9 0x10 //18B20端口DQ :P27

    标签: 0xC0 数码管 P20 P21

    上传时间: 2014-01-22

    上传用户:古谷仁美

  • 做单一灯的左移右移

    做单一灯的左移右移,硬件电路如图4.4.1所示,八个发光二极管L1-L8分别接在单片机的P1.0-P1.7接口上,输出“0”时,发光二极管亮,开始时P1.0→P1.1→P1.2→P1.3→┅→P1.7→P1.6→┅→P1.0亮,重复循环。

    标签:

    上传时间: 2017-07-22

    上传用户:cc1015285075

  • 简易交通灯 。 有四个状态0

    简易交通灯 。 有四个状态0,1,2,3 数码管为2位7段共阳数码管,可以通过修改i,j的值进而修改倒计时的长短。

    标签: 交通灯 状态

    上传时间: 2013-12-24

    上传用户:亚亚娟娟123

  • Implementation of Edmonds Karp algorithm that calculates maxFlow of graph. Input: For each test c

    Implementation of Edmonds Karp algorithm that calculates maxFlow of graph. Input: For each test case, the first line contains the number of vertices (n) and the number of arcs (m). Then, there exist m lines, one for each arc (source vertex, ending vertex and arc weight, separated by a space). The nodes are numbered from 1 to n. The node 1 and node n should be in different sets. There are no more than 30 arcs and 15 nodes. The arc weights vary between 1 and 1 000 000. Output: The output is a single line for each case, with the corresponding minimum size cut. Example: Input: 7 11 1 2 3 1 4 3 2 3 4 3 1 3 3 4 1 3 5 2 4 6 6 4 5 2 5 2 1 5 7 1 6 7 9 Output: 5

    标签: Implementation calculates algorithm Edmonds

    上传时间: 2014-01-04

    上传用户:kiklkook