小程序應(yīng)有如下功能: 1、登記。登記每位同學(xué)的上網(wǎng)卡號,押金(>=5 RMB)和上網(wǎng)時(shí)刻。 2、查詢。可以查詢每個(gè)上網(wǎng)卡號的上網(wǎng)時(shí)刻,上網(wǎng)的時(shí)間,押金和當(dāng)前的費(fèi)用。 3、結(jié)賬。根據(jù)卡號可以算出 應(yīng)收金額,應(yīng)找金額。 4、提醒。當(dāng)某個(gè)上網(wǎng)卡號的 上網(wǎng)費(fèi)用 >= 它的押金時(shí)應(yīng)提醒管理員。 5、續(xù)費(fèi)。當(dāng)某個(gè)上網(wǎng)卡號的 上網(wǎng)費(fèi)用 >= 它的押金,他可以再次交上一定金額的押金(>=5 RMB)。 6、修改費(fèi)率。上網(wǎng)的費(fèi)率應(yīng)可以調(diào)整。默認(rèn)的費(fèi)率是1 RMB /1小時(shí)。 為了不讓機(jī)房賠本,應(yīng)是這樣的收費(fèi)模式:先付錢后上網(wǎng)。如上機(jī)就五角, 以后過半小時(shí)收五角。 7、總賬。一天下來管理員要知道這天他賺了多少RMB。 你需要考慮程序被意外結(jié)束等特殊情況。 如果你的程序是按系統(tǒng)時(shí)間進(jìn)行計(jì)時(shí),還應(yīng)考慮系統(tǒng)時(shí)間被意外更改的特殊情況。總之,你應(yīng)考慮一切會讓你的程序不能正常運(yùn)行的特殊情況。 如果不知道怎么計(jì)時(shí),你可以學(xué)習(xí)參考使用<time.h>中函數(shù)。 說明: a. 假定機(jī)房有150臺機(jī)器。 b. 假定初始的費(fèi)率是1 RMB /1分鐘(便于測試)。
上傳時(shí)間: 2016-06-27
上傳用戶:gut1234567
The task of clustering Web sessions is to group Web sessions based on similarity and consists of maximizing the intra- group similarity while minimizing the inter-group similarity. The first and foremost question needed to be considered in clustering W b sessions is how to measure the similarity between Web sessions.However.there are many shortcomings in traditiona1 measurements.This paper introduces a new method for measuring similarities between Web pages that takes into account not only the URL but also the viewing time of the visited web page.Yhen we give a new method to measure the similarity of Web sessions using sequence alignment and the similarity of W eb page access in detail Experiments have proved that our method is valid and e幣cient.
標(biāo)簽: sessions clustering similarity Web
上傳時(shí)間: 2014-01-11
上傳用戶:songrui
This MATLAB M-file implements the finite-difference time-domain solution of Maxwell s curl equations over a one-dimensional space lattice comprised of uniform grid cells.
標(biāo)簽: finite-difference time-domain implements equations
上傳時(shí)間: 2014-01-11
上傳用戶:270189020
made by: kangkai data:2008.11.23 this one is used to test arm7 str71x. use a led to test GPIO. a---------P0.0 b---------P0.1 c---------P0.2 d---------P0.3 e---------P0.4 f---------P0.5 g---------P0.6 just run it and you will see the led to show 0-9 all the time.
標(biāo)簽: test kangkai made 2008
上傳時(shí)間: 2016-12-16
上傳用戶:moerwang
ABC_FDTD_Die(T) Implements simulation of a Gaussian Pulse over T time steps. ABC are for free space. If boundaries are in the Dielectric medium then the ABC fail. Dielectric medium begin and end can be specified with the code
標(biāo)簽: ABC_FDTD_Die Implements simulation Gaussian
上傳時(shí)間: 2013-12-22
上傳用戶:caiiicc
ABC_FDTD_Die(T) Implements simulation of a Gaussian Pulse over T time steps. ABC are for free space. If boundaries are in the Dielectric medium then the ABC fail. Dielectric medium begin and end can be specified with the code
標(biāo)簽: ABC_FDTD_Die Implements simulation Gaussian
上傳時(shí)間: 2014-07-27
上傳用戶:LIKE
A "code-what"? Unless you have spent some time working in the area of reverse engineering, chances are you have not heard of the term "codecave" before. If you have heard of it, you might not have read a clear definition of it or quite understand what it is or why it is useful. I have even asked seasoned assembly programmers about the term before and most of them had not heard of it. If it is new to you, do not worry, you are not the only one. It is a term that is scarcely used and is only useful in a reverse engineering context. Furthermore, is it "codecave" or "code cave"? I am not quite sure, but I will try my best to refer to it consistently as a "codecave". A space may sneak in there from time to time
標(biāo)簽: engineering code-what chances reverse
上傳時(shí)間: 2014-01-17
上傳用戶:hn891122
This small utility helps to generate seven segment display codes for different I/O connections. For example, AVR/PIC Port A.0 -> D Segment Port A.1 -> B Segment .... Also it can generate Common Cathode or Common Anode table codes.. I Coded it long time ago. I Hope help someone. Thank you
標(biāo)簽: connections different generate display
上傳時(shí)間: 2014-01-17
上傳用戶:開懷常笑
This material is not only up-to-date, it defines up-to-date. It is truly cutting-edge. As the only book on the subject, Rootkits will be of interest to any Windows security researcher or security programmer. It s detailed, well researched and the technical information is excellent. The level of technical detail, research, and time invested in developing relevant examples is impressive.
標(biāo)簽: up-to-date only cutting-edge material
上傳時(shí)間: 2017-07-09
上傳用戶:comua
Computing and the way people use C for doing it keeps changing as years go by. So overwhelming has been the response to all the previous editions of “Let Us C” that I have now decided that each year I would come up with a new edition of it so that I can keep the readers abreast with the way C is being used at that point in time.
標(biāo)簽: overwhelming Computing changing people
上傳時(shí)間: 2013-12-23
上傳用戶:epson850
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1