#include<stdio.h> #include<windows.h> int xuanxiang; int studentcount; int banjihao[100]; int xueqihao[100][10]; char xm[100][100]; int xuehao[100][10]; int score[100][3]; int yuwen; int shuxue[000]; int yingyu[100]; int c[100]; int p; char x[1000][100]="",y[100][100]="";/*x學(xué)院 y專業(yè) z班級*/ int z[100]; main() { void input(); void inputsc(); void alter(); void scbybannji(); printf("--------學(xué)生成績管理-----\n"); printf("請按相應(yīng)數(shù)字鍵來實現(xiàn)相應(yīng)功能\n"); printf("1.錄入學(xué)生信息 2.錄入學(xué)生成績 3.修改學(xué)生成績\n"); printf("4.查詢學(xué)生成績 5.不及格科目及名單 6.按班級輸出學(xué)生成績單\n"); printf("請輸入你要實現(xiàn)的功能所對應(yīng)的數(shù)字:"); scanf("%d",&xuanxiang); system("cls"); getchar(); switch (xuanxiang) { case 1:input(); case 2:inputsc(); case 3:alter(); /*case 4:select score(); case 5:bujigekemujimingdan();*/ case 6:scbybanji; } } void input() { int i; printf("請輸入你的學(xué)院名稱:"); gets(x); printf("請輸入你的專業(yè)名稱:"); gets(y); printf("請輸入你的班級號:"); scanf("%d",&z); printf("請輸入你們一個班有幾個人:"); scanf("%d",&p); system("cls"); for(i=0;i<p;i++) { printf("請輸入第%d個學(xué)生的學(xué)號:",i+1); scanf("%d",xuehao[i]); getchar(); printf("請輸入第%d個學(xué)生的姓名:",i+1); gets(xm[i]); system("cls"); } printf("您已經(jīng)錄入完畢您的班級所有學(xué)生的信息!\n"); printf("您的班級為%s%s%s\n",x,y,z); /*alter(p);*/ } void inputsc() { int i; for(i=0;i<p;i++) { printf("\n"); printf("--------------------------------------------------------------------------------\n\n"); printf("\t\t\t\t錄入學(xué)生的成績\n\n\n"); printf("--------------------------------------------------------------------------------\n\n"); printf("\t\t\t\t%s\n",xm[i]); printf("\n"); printf("\t\t\t\t數(shù)學(xué):"); scanf("%d",&shuxue[i]); printf("\n"); getchar(); printf("\t\t\t\t英語:"); scanf("%d",&yingyu[i]); printf("\n"); getchar(); printf("\t\t\t\tc語言:"); scanf("%d",&c[i]); system("cls"); } } void alter() { int i;/*循環(huán)變量*/ int m[10000];/*要查詢的學(xué)號*/ int b;/*修改后的成績*/ char kemu[20]=""; printf("請輸入你要修改的學(xué)生的學(xué)號"); scanf("%d",&m); for (i=0;i<p;i++) { if (m==xuehao[i]) { printf("%s的數(shù)學(xué)成績?yōu)?d,英語成績?yōu)?d,c語言成績?yōu)?d,xm[i],shuxue[i],yingyu[i],c[i]"); printf("請輸入你想修改的科目");} } gets(kemu); getchar(); if (kemu=="數(shù)學(xué)"); { scanf("%d",&b); shuxue[i]=b;} if (kemu=="英語"); { scanf("%d",&b); yingyu[i]=b;} if (kemu=="c語言"); { scanf("%d",&b); c[i]=b; } printf("%s的數(shù)學(xué)成績?yōu)?d,英語成績?yōu)?d,c語言成績?yōu)?d,xm[i],shuxue[i],yingyu[i],c[i]"); } void scbybannji() { int i; char zyname[20]; int bjnumber; printf("請輸入你的專業(yè)名稱"); scanf("%s",&zyname); printf("請輸入你的班級號"); scanf("%d",&bjnumber); for (i=0;i<p;i++) { if (zyname==y[i]); if (bjnumber==z[i]); printf("專業(yè)名稱%s班級號%d數(shù)學(xué)成績%d英語成績%dc語言成績%d,y[i],z[i],shuxue[i],yingyu[i],c[i]"); } }
標(biāo)簽: c語言
上傳時間: 2018-06-08
上傳用戶:2369043090
在包 hugeinteger 中創(chuàng)建功能類 HugeInteger,該類用來存放和操作一個不超過 40 位的大整數(shù)。 (1) 定義一個構(gòu)造函數(shù),用來對大整數(shù)進行初始化。參數(shù)為一個字符串。 (2) 定義 input 成員函數(shù),實現(xiàn)大整數(shù)的重新賦值。參數(shù)為一個字符串,無返回 值。 (3) 定義 output 成員函數(shù),將大整數(shù)輸出到屏幕上。無參數(shù)無返回值。 (4) 定義 add 成員函數(shù),實現(xiàn)兩個大整數(shù)的加法。參數(shù)為一個 HugeInteger 對 象,無返回值,例如: HugeInteger A = new HugeInteger("12345"); HugeInteger B = new HugeInteger("1234"); A.add(B); 此時,A 為 13579,B 為 1234。 (5) 定義 sub 成員函數(shù),實現(xiàn)兩個大整數(shù)的減法。參數(shù)和返回值同 add 函數(shù)。 (6) 定義若干大整數(shù)關(guān)系運算的成員函數(shù),包括 isEqualTo(等于,=)、 isNotEqualTo(不等于,≠)、isGreaterThan(大于,>)、isLessThan(小 于,<)、isGreaterThanOrEqualTo(大于等于,≥)和 isLessThanOrEqualTo (小于等于,≤)。這些函數(shù)的參數(shù)為一個 HugeInteger 對象,返回值為一個 布爾類型,表示關(guān)系運算的結(jié)果,例如: HugeInteger A = new HugeInteger("12345"); HugeInteger B = new HugeInteger("1234"); 那么此時 A.isGreaterThan(B)的結(jié)果應(yīng)當(dāng)為 True,表示 12345>1234。
上傳時間: 2019-06-01
上傳用戶:idealist
Once upon a time, cellular wireless networks provided two basic services: voice telephony and low-rate text messaging. Users in the network were separated by orthogonal multiple access schemes, and cells by generous frequency reuse patterns [1]. Since then, the proliferation of wireless services, fierce competition, andthe emergenceof new service classes such as wireless data and multimediahave resulted in an ever increasing pressure on network operators to use resources in a moreefficient manner.In the contextof wireless networks,two of the most common resources are power and spectrum—and, due to regulations, these resources are typically scarce. Hence, in contrast to wired networks, overprovisioning is not feasible in wireless networks.
標(biāo)簽: Maximization Nonconvex Wireless Utility Systems in
上傳時間: 2020-06-01
上傳用戶:shancjb
n recent years, there have been many books published on power system optimization. Most of these books do not cover applications of artifi cial intelligence based methods. Moreover, with the recent increase of artifi cial intelligence applications in various fi elds, it is becoming a new trend in solving optimization problems in engineering in general due to its advantages of being simple and effi cient in tackling complex problems. For this reason, the application of artifi cial intelligence in power systems has attracted the interest of many researchers around the world during the last two decades. This book is a result of our effort to provide information on the latest applications of artifi cial intelligence to optimization problems in power systems before and after deregulation.
標(biāo)簽: Intelligence Artificial System Power in
上傳時間: 2020-06-10
上傳用戶:shancjb
小車資料 - 0樹莓派教程2016-0804 - 0樹莓派入門套件A光盤.rar - 2.87GB(網(wǎng)盤)B套餐資料.rar - 507.56MBC盤.rar - 1.31GBB套餐資料.rar - 1.87GBB盤.rar - 2.35GBA盤.rar - 2.07GB40118樹莓派實戰(zhàn)指南(教學(xué)視頻與源代碼).rar - 3.01GB微雪5寸顯示器config - 0樹莓派詳細資料 - 0視頻教程 - 0RaspberryPi配件安裝視頻.mp4 - 13.49MB6、樹莓派小車系列之按鍵控制小車.mp4 - 197.46MB
上傳時間: 2022-06-05
上傳用戶:
|- 我的虛擬機和ubuntu下載 - 0 B|- 騰訊課堂公開課 - 0 B|- 工具軟件 - 0 B|- X210光盤資料 - 0 B|- 4.C語言專題精講篇 - 0 B|- 2.uboot和linux內(nèi)核移植 - 0 B|- 1.ARM裸機全集 - 0 B|- 0.基礎(chǔ)預(yù)科 - 0 B|- 專用播放器第一代-已不用,請下載第二代.rar - 18.10 MB|- 專用播放器-《朱老師物聯(lián)網(wǎng)大講堂》收費視頻.rar - 18.10 MB|- 朱老師物聯(lián)網(wǎng)大講堂高級課程專用播放器-第二代.rar - 28.10 MB
標(biāo)簽: 物聯(lián)網(wǎng)
上傳時間: 2022-06-06
上傳用戶:
|- 數(shù)據(jù)科學(xué)速查表 - 0 B|- 遷移學(xué)習(xí)實戰(zhàn) - 0 B|- 零起點Python機器學(xué)習(xí)快速入門 - 0 B|- 《深度學(xué)習(xí)入門:基于Python的理論與實現(xiàn)》高清中文版PDF+源代碼 - 0 B|- 《Python生物信息學(xué)數(shù)據(jù)管理》中文版PDF+英文版PDF+源代碼 - 0 B|- 《Python深度學(xué)習(xí)》2018中文版pdf+英文版pdf+源代碼 - 0 B|- 《Python編程:從入門到實踐》中文版+源代碼 - 0 B|- stanford machine learning - 0 B|- Python語言程序設(shè)計2018版電子教案 - 0 B|- Python網(wǎng)絡(luò)編程第三版 (原版+中文版+源代碼) - 0 B|- Python機器學(xué)習(xí)實踐指南(中文版帶書簽)、原書代碼、數(shù)據(jù)集 - 0 B|- python官方文檔 - 0 B|- Python編程(第4版 套裝上下冊) - 0 B|- PyQt5快速開發(fā)與實戰(zhàn)(pdf+源碼) - 0 B|- linux - 0 B|- 征服PYTHON-語言基礎(chǔ)與典型應(yīng)用.pdf - 67.40 MB|- 與孩子一起學(xué)編程_中文版_詳細書簽.pdf - 69.10 MB|- 用Python做科學(xué)計算.pdf - 6.10 MB|- 用Python寫網(wǎng)絡(luò)爬蟲.pdf - 9.90 MB|- 用Python進行自然語言處理(中文翻譯NLTK).pdf - 4.40 MB|- 像計算機科學(xué)家那樣思考 Python中文版第二版.pdf - 712.00 kB|- 網(wǎng)絡(luò)爬蟲-Python和數(shù)據(jù)分析.pdf - 6.90 MB|- 圖解機器學(xué)習(xí).pdf - 59.40 MB|- 凸優(yōu)化.pdf - 5.70 MB|- 數(shù)據(jù)挖掘?qū)д?pdf - 2.50 MB|- 數(shù)據(jù)科學(xué)入門.pdf - 13.30 MB|- 數(shù)據(jù)結(jié)構(gòu)與算法__Python語言描述_裘宗燕編著_北京:機械工業(yè)出版社_,_2016.01_P346.pdf - 74.30 MB|- 神經(jīng)網(wǎng)絡(luò)與深度學(xué)習(xí).pdf - 92.60 MB|- 深入Python3...
標(biāo)簽: python
上傳時間: 2022-06-06
上傳用戶:
|- 9.配套數(shù)據(jù)手冊 - 0 B|- 8.面包板接線軟件 - 0 B|- 7.物聯(lián)網(wǎng)實驗 - 0 B|- 6.圖形化編程 - 0 B|- 5.實驗接線圖 - 0 B|- 4.視頻教程 - 0 B|- 3.案例程序 - 0 B|- 2.開發(fā)環(huán)境 - 0 B|- 10.輔助軟件 - 0 B|- 1.學(xué)前先看 - 0 B|- CLB.ico - 17.00 kB|- Autorun.inf - 23 B
上傳時間: 2022-06-06
上傳用戶:
We introduce a sub-cell WENO reconstruction method to evaluate spatial derivatives in the high-order ADER scheme. The basic idea in our reconstruction is to use only r stencils to reconstruct the point-wise values of solutions and spatial derivatives for the 2r-1 th order ADER scheme in one dimension, while in two dimensions, the dimension-by-dimension sub-cell reconstruction approach for spatial derivatives is employed. Compared with the original ADER scheme of Toro and Titarev (2002) [2] that uses the direct derivatives of reconstructed polynomials for solutions to evaluate spatial derivatives, our method not only reduces greatly the computational costs of the ADER scheme on a given mesh, but also avoids possible numerical oscillations near discontinuities, as demonstrated by a number of one- and two-dimensional numerical tests. All these tests show that the 5th-order ADER scheme based on our sub-cell reconstruction method achieves the desired accuracy, and is essentially non-oscillatory and computationally cheaper for problems with discontinuities.
標(biāo)簽: 高精度格式
上傳時間: 2016-01-13
上傳用戶:ccsdcczd
Differential Nonlinearity: Ideally, any two adjacent digitalcodes correspond to output analog voltages that are exactlyone LSB apart. Differential non-linearity is a measure of theworst case deviation from the ideal 1 LSB step. For example,a DAC with a 1.5 LSB output change for a 1 LSB digital codechange exhibits 1⁄2 LSB differential non-linearity. Differentialnon-linearity may be expressed in fractional bits or as a percentageof full scale. A differential non-linearity greater than1 LSB will lead to a non-monotonic transfer function in aDAC.Gain Error (Full Scale Error): The difference between theoutput voltage (or current) with full scale input code and theideal voltage (or current) that should exist with a full scale inputcode.Gain Temperature Coefficient (Full Scale TemperatureCoefficient): Change in gain error divided by change in temperature.Usually expressed in parts per million per degreeCelsius (ppm/°C).Integral Nonlinearity (Linearity Error): Worst case deviationfrom the line between the endpoints (zero and full scale).Can be expressed as a percentage of full scale or in fractionof an LSB.LSB (Lease-Significant Bit): In a binary coded system thisis the bit that carries the smallest value or weight. Its value isthe full scale voltage (or current) divided by 2n, where n is theresolution of the converter.Monotonicity: A monotonic function has a slope whose signdoes not change. A monotonic DAC has an output thatchanges in the same direction (or remains constant) for eachincrease in the input code. the converse is true for decreasing codes.
標(biāo)簽: Converters Defini DAC
上傳時間: 2013-10-30
上傳用戶:stvnash
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1