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

n<b>das</b>h

  • 3.画椭圆ellipse 4.利用ellipse and rectangle 画图 5.一个最优美的图案 6.输入3个数a,b,c

    3.画椭圆ellipse 4.利用ellipse and rectangle 画图 5.一个最优美的图案 6.输入3个数a,b,c,按大小顺序输出 :输入数组,最大的与第一个元素交换,最小的与最后一个元素交换,输出数组。 7.有n个整数,使其前面各数顺序向后移m个位置,最后m个数变成最前面的m个数

    标签: ellipse rectangle and 椭圆

    上传时间: 2016-11-16

    上传用户:royzhangsz

  • 成績顯示三個部份abc #include<stdio.h> #include<stdlib.h> int main(void) { float gread

    成績顯示三個部份abc #include<stdio.h> #include<stdlib.h> int main(void) { float gread printf("請輸入分數\n") scanf("%f",&gread) if(gread>=80&&gread<=100) printf("成績為A\n") else if(gread>=60&&gread<=79) { printf("成績為B\n") } else if(gread>=0&&gread<60) { printf("成績為C\n") } else { printf("分數輸入錯誤\n") } system("pause") return 0 }

    标签: include stdlib float gread

    上传时间: 2014-01-15

    上传用户:waizhang

  • Problem B:Longest Ordered Subsequence A numeric sequence of ai is ordered if a1 < a2 < ... &l

    Problem B:Longest Ordered Subsequence A numeric sequence of ai is ordered if a1 < a2 < ... < aN. Let the subsequence of the given numeric sequence (a1, a2, ..., aN) be any sequence (ai1, ai2, ..., aiK), where 1 <= i1 < i2 < ... < iK <= N. For example, sequence (1, 7, 3, 5, 9, 4, 8) has ordered subsequences, e. g., (1, 7), (3, 4, 8) and many others. All longest ordered subsequences are of length 4, e. g., (1, 3, 5, 8).

    标签: Subsequence sequence Problem Longest

    上传时间: 2016-12-08

    上传用户:busterman

  • 设B是一个n×n棋盘

    设B是一个n×n棋盘,n=2k,(k=1,2,3,…)。用分治法设计一个算法,使得:用若干个L型条块可以覆盖住B的除一个特殊方格外的所有方格。其中,一个L型条块可以覆盖3个方格。且任意两个L型条块不能重叠覆盖棋盘。

    标签:

    上传时间: 2013-12-19

    上传用户:xc216

  • g a w k或GNU awk是由Alfred V. A h o

    g a w k或GNU awk是由Alfred V. A h o,Peter J.We i n b e rg e r和Brian W. K e r n i g h a n于1 9 7 7年为U N I X创建的a w k编程语言的较新版本之一。a w k出自创建者姓的首字母。a w k语言(在其所有的版本中)是一种具有很强能力的模式匹配和过程语言。a w k获取一个文件(或多个文件)来查找匹配特定模式的记录。当查到匹配后,即执行所指定的动作。作为一个程序员,你不必操心通过文件打开、循环读每个记录,控制文件的结束,或执行完后关闭文件。

    标签: V. Alfred GNU awk

    上传时间: 2014-01-02

    上传用户:hwl453472107

  • function g=distance_classify(A,b) 距离判别法程序。 输入已分类样本A(元胞数组)

    function g=distance_classify(A,b) 距离判别法程序。 输入已分类样本A(元胞数组),输入待分类样本b 输出待分类样本b的类别g 注:一般还应计算回代误差yita 输入已知分类样本的总类别数n 每类作为元胞数组的一列

    标签: distance_classify function 判别 分类

    上传时间: 2013-11-25

    上传用户:yyyyyyyyyy

  • 利用栈的基本操作实现将任意一个十进制整数N转化为R进制整数。

    #include <stdlib.h> #include<stdio.h> #include <malloc.h> #define stack_init_size 100 #define stackincrement 10 typedef struct sqstack { int *base; int *top; int stacksize; } sqstack; int StackInit(sqstack *s) { s->base=(int *)malloc(stack_init_size *sizeof(int)); if(!s->base) return 0; s->top=s->base; s->stacksize=stack_init_size; return 1; } int Push(sqstack *s,int e) { if(s->top-s->base>=s->stacksize) { s->base=(int *)realloc(s->base,(s->stacksize+stackincrement)*sizeof(int)); if(!s->base) return 0; s->top=s->base+s->stacksize; s->stacksize+=stackincrement; } *(s->top++)=e; return e; } int Pop(sqstack *s,int e) { if(s->top==s->base) return 0; e=*--s->top; return e; } int stackempty(sqstack *s) { if(s->top==s->base) { return 1; } else { return 0; } } int conversion(sqstack *s) { int n,e=0,flag=0; printf("输入要转化的十进制数:\n"); scanf("%d",&n); printf("要转化为多少进制:\n"); scanf("%d",&flag); printf("将十进制数%d 转化为%d 进制是:\n",n,flag); while(n) { Push(s,n%flag); n=n/flag; } while(!stackempty(s)) { e=Pop(s,e); switch(e) { case 10: printf("A"); break; case 11: printf("B"); break; case 12: printf("C"); break; case 13: printf("D"); break; case 14: printf("E"); break; case 15: printf("F"); break; default: printf("%d",e); } } printf("\n"); return 0; } int main() { sqstack s; StackInit(&s); conversion(&s); return 0;                        }

    标签: 整数 基本操作 十进制 转化 进制

    上传时间: 2016-12-08

    上传用户:爱你198

  • 21世纪大学新型参考教材系列 集成电路B 荒井

    21世纪大学新型参考教材系列 集成电路B 荒井

    标签: 大学 教材 集成电路

    上传时间: 2013-04-15

    上传用户:eeworm

  • 家电维修(最基础的教程B)1-20.Torrent

    家电维修(最基础的教程B)1-20.Torrent

    标签: Torrent 20 家电维修 教程

    上传时间: 2013-06-10

    上传用户:eeworm

  • jk-b交通信号控制机原理图

    jk-b交通信号控制机原理图

    标签: jk-b 交通信号 控制机 原理图

    上传时间: 2013-07-13

    上传用户:eeworm