亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊(cè)

計(jì)(jì)算機(jī)(jī)等級(jí)(jí)

  • 學(xué)生成績查詢

    #include "string.h" #include "ctype.h" #include "stdio.h" search(char pd[]) {FILE *fp; int time=0,i=0,j=0,add[80],k=0,m; char *ch, str[900]; m=strlen(pd); if((fp=fopen("haha.txt","r"))==NULL) { printf("Cannot open this file\n"); exit(0); } for(;!feof(fp);i++) { str[i]=fgetc(fp); if(tolower(str[i])==tolower(pd[k])) {k++; if(k==m) if(!isalpha(i-m)&&!isalpha((str[i++]=fgetc(fp)))) { time++; add[j]=i-m+1; j++; k=0; } else k=0; } } if(time) { printf("The time is:%d\n",time); printf("The adders is:\n"); for(i=0;i

    標(biāo)簽: 查詢學(xué)會(huì)少年宮

    上傳時(shí)間: 2016-12-29

    上傳用戶:767483511

  • 學(xué)生成績管理啊

    #include "string.h" #include "ctype.h" #include "stdio.h" search(char pd[]) {FILE *fp;  int time=0,i=0,j=0,add[80],k=0,m;  char *ch,  str[900];  m=strlen(pd);  if((fp=fopen("haha.txt","r"))==NULL)  {   printf("Cannot open this file\n");   exit(0);  } for(;!feof(fp);i++)  {  str[i]=fgetc(fp);   if(tolower(str[i])==tolower(pd[k]))    {k++;     if(k==m)     if(!isalpha(i-m)&&!isalpha((str[i++]=fgetc(fp))))     {      time++;      add[j]=i-m+1;      j++;      k=0;     }     else k=0;   }  }   if(time)  {   printf("The time is:%d\n",time);   printf("The adders is:\n");   for(i=0;i<j;i++)   printf("%5d",add[i]);   if(i%5==0)   printf("\n");   getch();   fclose(fp);   }   else   printf("Sorry!Cannot find the word(^_^)"); } main() { char pd[10],choose='y'; int flag=1;     while(flag)    {printf("In put the word you want to seqarch:");     scanf("%s",pd);     search(strlwr(pd));     printf("\nWould you want to continue?(Y/N):");     getchar();     scanf("%c",&choose);     if((tolower(choose))=='n')     flag=0;     else flag=1;    }   printf("Thanks for your using!Bye-bye!\n");   getch(); }

    標(biāo)簽: 學(xué)生專用

    上傳時(shí)間: 2016-12-29

    上傳用戶:767483511

  • 移動(dòng)通信虛擬教學(xué)實(shí)驗(yàn)系統(tǒng)的設(shè)計(jì)與開發(fā)(碩士畢業(yè)論文)

    移動(dòng)通信是通信、電子信息類專業(yè)的-f-j主要課程,一直被各高校所重視,但 該課程的覆蓋面廣、內(nèi)容多,概念理解起來比較抽象。實(shí)驗(yàn)課程作為理論課程的重 要補(bǔ)充,可以很好的彌補(bǔ)書本教學(xué)的直觀性不足。目前的移動(dòng)通信實(shí)驗(yàn)系統(tǒng)大多是 以實(shí)驗(yàn)箱配合PC機(jī)的模式,但局限于演示和驗(yàn)證性的實(shí)驗(yàn)內(nèi)容教學(xué)效果較差,同 時(shí)也很難激發(fā)學(xué)生的學(xué)習(xí)積極性。

    標(biāo)簽: 移動(dòng)通信 教學(xué)實(shí)驗(yàn)系統(tǒng) 碩士 畢業(yè)論文 虛擬

    上傳時(shí)間: 2017-02-19

    上傳用戶:rocket1122

  • Stream of Variation Modeling and Analysis

    Shi J. -Stream of Variation Modeling and Analysis for Multistage Manufacturing Processes-CRC Press (2006) 偏差流經(jīng)典教材 密歇根大學(xué) 史建軍

    標(biāo)簽: 偏差流 經(jīng)典教材

    上傳時(shí)間: 2017-02-27

    上傳用戶:yiwushanpao

  • java學(xué)生數(shù)據(jù)庫

    /*import java.util.Scanner; //主類 public class student122 {   //主方法   public static void main(String[] args){     //定義7個(gè)元素的字符數(shù)組     String[] st = new String[7];     inputSt(st);       //調(diào)用輸入方法     calculateSt(st);   //調(diào)用計(jì)算方法     outputSt(st);      //調(diào)用輸出方法   }   //其他方法   //輸入方法 private static void inputSt(String st[]){     System.out.println("輸入學(xué)生的信息:");   System.out.println("學(xué)號(hào) 姓名 成績1,2,3");   //創(chuàng)建鍵盤輸入類   Scanner ss = new Scanner(System.in);   for(int i=0; i<5; i++){     st[i] = ss.next(); //鍵盤輸入1個(gè)字符串   } }   //計(jì)算方法 private static void calculateSt(String[] st){   int sum = 0;         //總分賦初值 int ave = 0;         //平均分賦初值 for(int i=2;i<5;i++) {   /計(jì)總分,字符變換成整數(shù)后進(jìn)行計(jì)算   sum += Integer.parseInt(st[i]); } ave = sum/3;         //計(jì)算平均分 //整數(shù)變換成字符后保存到數(shù)組里 st[5] = String.valueOf(sum); st[6] = String.valueOf(ave); }   //輸出方法 private static void outputSt(String[] st){     System.out.print("學(xué)號(hào) 姓名 ");   //不換行   System.out.print("成績1 成績2 成績3 ");   System.out.println("總分 平均分");//換行   //輸出學(xué)生信息   for(int i=0; i<7; i++){     //按格式輸出,小于6個(gè)字符,補(bǔ)充空格     System.out.printf("%6s", st[i]);   }   System.out.println();            //輸出換行 } }*/   import java.util.Scanner;   public class student122 {   public static void main(String[] args) { // TODO 自動(dòng)生成的方法存根 String[][] st = new String[3][8]; inputSt(st); calculateSt(st); outputSt(st); }   //輸入方法 private static void inputSt(String st[][]) { System.out.println("輸入學(xué)生信息:"); System.out.println("班級(jí) 學(xué)號(hào) 姓名 成績:數(shù)學(xué) 物理 化學(xué)"); //創(chuàng)建鍵盤輸入類 Scanner ss = new Scanner(System.in); for(int j = 0; j < 3; j++) { for(int i = 0; i < 6; i++) { st[j][i] = ss.next(); } } } //輸出方法 private static void outputSt(String st[][]) { System.out.println("序號(hào) 班級(jí) 學(xué)號(hào) 姓名 成績:數(shù)學(xué) 物理 化學(xué) 總分 平均分"); //輸出學(xué)生信息 for(int j = 0; j < 3; j++) { System.out.print(j+1 + ":"); for(int i = 0; i < 8; i++) { System.out.printf("%6s", st[j][i]); } System.out.println(); } }     //計(jì)算方法     private static void calculateSt(String[][] st)     {      int sum1 = 0;      int sum2 = 0; int sum3 = 0;      int ave1 = 0;      int ave2 = 0;      int ave3 = 0;      for(int i = 3; i < 6; i++)      {      sum1 += Integer.parseInt(st[0][i]);      }      ave1 = sum1/3;           for(int i = 3; i < 6; i++)      {      sum2 += Integer.parseInt(st[1][i]);      }      ave2 = sum2/3;           for(int i = 3; i < 6; i++)      {      sum3 += Integer.parseInt(st[2][i]);      }      ave3 = sum3/3;           st[0][6] = String.valueOf(sum1);      st[1][6] = String.valueOf(sum2);      st[2][6] = String.valueOf(sum3);      st[0][7] = String.valueOf(ave1);      st[1][7] = String.valueOf(ave2);      st[2][7] = String.valueOf(ave3);     } }

    標(biāo)簽: java 數(shù)據(jù)庫

    上傳時(shí)間: 2017-03-17

    上傳用戶:simple

  • c語言算法排序

    1.Describe a Θ(n lg n)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exist two elements in S whose sum is exactly x. (Implement exercise 2.3-7.) #include<stdio.h> #include<stdlib.h> void merge(int arr[],int low,int mid,int high){      int i,k;      int *tmp=(int*)malloc((high-low+1)*sizeof(int));      int left_low=low;      int left_high=mid;      int right_low=mid+1;      int right_high=high;      for(k=0;left_low<=left_high&&right_low<=right_high;k++)      {      if(arr[left_low]<=arr[right_low]){                                        tmp[k]=arr[left_low++];                                        }      else{           tmp[k]=arr[right_low++];           } }             if(left_low<=left_high){                              for(i=left_low;i<=left_high;i++){                                                               tmp[k++]=arr[i];                                                               }                              }       if(right_low<=right_high){                              for(i=right_low;i<=right_high;i++)                                                                tmp[k++]=arr[i];                                                        }                              for(i=0;i<high-low+1;i++)                                                       arr[low+i]=tmp[i];       } void merge_sort(int a[],int p,int r){      int q;      if(p<r){              q=(p+r)/2;              merge_sort(a,p,q);              merge_sort(a,q+1,r);              merge(a,p,q,r);              }      } int main(){     int a[8]={3,5,8,6,4,1,1};     int i,j;     int x=10;     merge_sort(a,0,6);     printf("after Merging-Sort:\n");     for(i=0;i<7;i++){                      printf("%d",a[i]);                      }     printf("\n");     i=0;j=6;     do{                                    if(a[i]+a[j]==x){                                  printf("exist");                                  break;                                  }                  if(a[i]+a[j]>x)                                 j--;                  if(a[i]+a[j]<x)                                 i++;                       }while(i<=j);     if(i>j)              printf("not exist");     system("pause");     return 0;     }

    標(biāo)簽: c語言 算法 排序

    上傳時(shí)間: 2017-04-01

    上傳用戶:糖兒水嘻嘻

  • STM32入門教程

    STM32 入門教程系列之二:如何安裝J-link驅(qū)動(dòng)軟件

    標(biāo)簽: STM 32 入門教程

    上傳時(shí)間: 2017-04-17

    上傳用戶:Takumi_wake

  • STM32入門教程

    STM32入門教程系列之三:如何使用J-flah調(diào)試

    標(biāo)簽: STM 32 入門教程

    上傳時(shí)間: 2017-04-17

    上傳用戶:Takumi_wake

  • java入門編程合集

    題目:古典問題:有一對(duì)兔子,從出生后第3個(gè)月起每個(gè)月都生一對(duì)兔子,小兔子長到第三個(gè)月后每個(gè)月又生一對(duì)兔子,假如兔子都不死,問每個(gè)月的兔子總數(shù)為多少?    //這是一個(gè)菲波拉契數(shù)列問題 public class lianxi01 { public static void main(String[] args) { System.out.println("第1個(gè)月的兔子對(duì)數(shù):    1"); System.out.println("第2個(gè)月的兔子對(duì)數(shù):    1"); int f1 = 1, f2 = 1, f, M=24;      for(int i=3; i<=M; i++) {       f = f2;       f2 = f1 + f2;       f1 = f;       System.out.println("第" + i +"個(gè)月的兔子對(duì)數(shù): "+f2);          } } } 【程序2】    題目:判斷101-200之間有多少個(gè)素?cái)?shù),并輸出所有素?cái)?shù)。 程序分析:判斷素?cái)?shù)的方法:用一個(gè)數(shù)分別去除2到sqrt(這個(gè)數(shù)),如果能被整除, 則表明此數(shù)不是素?cái)?shù),反之是素?cái)?shù)。    public class lianxi02 { public static void main(String[] args) {     int count = 0;     for(int i=101; i<200; i+=2) {      boolean b = false;      for(int j=2; j<=Math.sqrt(i); j++)      {         if(i % j == 0) { b = false; break; }          else           { b = true; }      }         if(b == true) {count ++;System.out.println(i );}                                   }     System.out.println( "素?cái)?shù)個(gè)數(shù)是: " + count); } } 【程序3】    題目:打印出所有的 "水仙花數(shù) ",所謂 "水仙花數(shù) "是指一個(gè)三位數(shù),其各位數(shù)字立方和等于該數(shù)本身。例如:153是一個(gè) "水仙花數(shù) ",因?yàn)?53=1的三次方+5的三次方+3的三次方。 public class lianxi03 { public static void main(String[] args) {      int b1, b2, b3; 

    標(biāo)簽: java 編程

    上傳時(shí)間: 2017-12-24

    上傳用戶:Ariza

  • 迷宮問題的求解

    問題描述:以一個(gè)m*n的長方陣表示迷宮,0和1分別表示迷宮中的通路和障礙。設(shè)計(jì)一個(gè)程序,對(duì)任意設(shè)定的迷宮,求出一條從入口到出口的通路,或得出沒有通路的結(jié)論。 1.基本要求 (1)首先實(shí)現(xiàn)一個(gè)以鏈表作存儲(chǔ)結(jié)構(gòu)的棧類型,然后編寫一個(gè)求解迷宮的非遞歸程序。求得的通路以三元組(i,j,d)的形式輸出。其中:(i,j)指示迷宮中的一個(gè)坐標(biāo),d表示走到下一坐標(biāo)的方向。如下圖所示迷宮。從入口(1,1)到出口(8,8)的求解結(jié)果如下: (1,1)(1,2),(2,2)(3,2)(3,1)(4,1)(5,1)(5,2)(5,3)(6,3)(6,4)(6,5)(5,5)(4,5)(4,6)(4,7)(3,7)(3,8)(4,8)(5,8)(6,8)(7,8)(8,8) (2)以方陣形式輸出迷宮及其通路。 2.重點(diǎn)、難點(diǎn) 重點(diǎn):針對(duì)迷宮問題的特點(diǎn),利用棧的后進(jìn)先出特點(diǎn),選擇適當(dāng)?shù)臄?shù)據(jù)結(jié)構(gòu)。 難點(diǎn):遞歸算法的設(shè)計(jì)與求解。

    標(biāo)簽: 迷宮

    上傳時(shí)間: 2018-07-03

    上傳用戶:MOOMWHITE

主站蜘蛛池模板: 肇东市| 安吉县| 肇庆市| 沈阳市| 城口县| 微博| 军事| 福贡县| 鞍山市| 新津县| 杭锦旗| 格尔木市| 环江| 高青县| 徐汇区| 伊金霍洛旗| 千阳县| 留坝县| 叶城县| 汕尾市| 杨浦区| 即墨市| 汝阳县| 阿勒泰市| 同德县| 赤峰市| 潢川县| 临朐县| 平遥县| 九龙县| 沙河市| 广宗县| 漠河县| 汾阳市| 阆中市| 如皋市| 汕头市| 彭阳县| 南部县| 三门县| 方城县|