Location:
Search - 1046
Search list
Description: 记录从周武王元年(公元前1046年)到公元1999年之间中外历史事件的大事年表,这里上传的版本暂时只校订到公元前221年。
Platform: |
Size: 146591 |
Author: hanxiaohua |
Hits:
Description: 这是一个用VB编写的干部管理系统的程序 具有人员录入 工资发放等多种重要功能 是一个企事业单位十分有用的软件-This a VB prepared by the cadre management system with the procedures staff input payroll and other important functions of institutions is a very useful software
Platform: |
Size: 527615 |
Author: 陈兆千 |
Hits:
Description: 这是一个用VB编写的干部管理系统的程序 具有人员录入 工资发放等多种重要功能 是一个企事业单位十分有用的软件-This a VB prepared by the cadre management system with the procedures staff input payroll and other important functions of institutions is a very useful software
Platform: |
Size: 527360 |
Author: 陈兆千 |
Hits:
Description: 4 BIT LED 静态驱动接口芯片的KC51程序,经过测试OK-4 BIT LED driver interface chip static KC51 procedures, tested OK
Platform: |
Size: 31744 |
Author: 仲斌 |
Hits:
Description: ACM 威士忌部分答案,可能有误,请谅解。-ACM whiskey part of the answer may be incorrect, please understanding.
Platform: |
Size: 1200128 |
Author: agxqsntt |
Hits:
Description: 记录从周武王元年(公元前1046年)到公元1999年之间中外历史事件的大事年表,这里上传的版本暂时只校订到公元前221年。-Records from the周武王the first year (1046 BC) to the year 1999 between the Chinese and foreign history of the event chronology of events, where to upload the edited version is only 221 years BC.
Platform: |
Size: 146432 |
Author: hanxiaohua |
Hits:
Description: 威士忌的HDU题解.大概有260多题的源码。对于学习非常有好处。-HDU title whiskey solution. More than 260 questions about the source. Very beneficial for learning.
Platform: |
Size: 1382400 |
Author: giraffe |
Hits:
Description: 大事年表的动态链接库的源代码及其在vb/vc中的调用,这里上传的版本暂时已从公元前1046年校订到公元1499年。-Chronology of the dynamic link library and its source code vb/vc of the call, the version here From the time being revised from 1046 BC to 1499 AD.
Platform: |
Size: 1601536 |
Author: hanxiaohua |
Hits:
Description: 上传的是ACM的题目的源代码的质量高的工具的语言-Upload the ACM to the topic of the source code tool for high-quality language
Platform: |
Size: 7168 |
Author: 上载内容 |
Hits:
Description: module song(clk,key,song_out,led)
input [7:0] key
input clk
output song_out
output [7:0] led
reg song_reg
reg [21:0] count
reg [19:0] delay
reg [7:0] key_reg
always @(posedge clk)
begin
count=count+1
if((count==delay)&(!(delay==20 d65535)))
begin
count=22 d0
song_reg=!song_reg
end
end
always @(key)
begin
key_reg=key
case(key_reg)
8 b0000_0001: delay=20 d47774 //zhong yin 1 523.3HZ
8 b0000_0010: delay=20 d42568 //zhong yin 2 587.3HZ
8 b0000_0100: delay=20 d37919 //zhong yin 3 659.3HZ
8 b0000_1000: delay=20 d35791 //zhong yin 4 698.5HZ
8 b0001_0000: delay=20 d31888 //zhong yin 5 784HZ
8 b0010_0000: delay=20 d28409 //zhong yin 6 880HZ
8 b0100_0000: delay=20 d25309 //zhong yin 7 987.8HZ
8 b1000_0000: delay=20 d23889 //gao yin 1 1046.5HZ
default: delay=20 d65535
endcase
end
assign song_out=song_reg
文件: song.rar
大小: 357KB
下载: 下载
assign led=key_reg
endmodule
-module song (clk, key, song_out, led) input [7:0] key input clk output song_out output [7:0] led reg song_reg reg [21:0] count reg [19:0 ] delay reg [7:0] key_reg always @ (posedge clk) begin count = count+1 if ((count == delay )& (!( delay == 20' d65535))) begin count = 22 ' d0 song_reg =! song_reg end end always @ (key) begin key_reg = key case (key_reg) 8' b0000_0001: delay = 20' d47774 // zhong yin 1 523.3HZ 8' b0000_0010: delay = 20' d42568 // zhong yin 2 587.3HZ 8' b0000_0100: delay = 20' d37919 // zhong yin 3 659.3HZ 8' b0000_1000: delay = 20' d35791 // zhong yin 4 698.5HZ 8' b0001_0000: delay = 20' d31888 // zhong yin 5 784HZ 8' b0010_0000: delay = 20' d28409 // zhong yin 6 880HZ 8' b0100_0000: delay = 20' d25309 // zhong yin 7 987.8HZ 8' b1000_0000: delay = 20' d23889 // gao yin 1 1046.5HZ default: delay = 20' d65535 endcase end assign song_out = song_reg file: song.rar Size: 357KB Download: Download
Platform: |
Size: 365568 |
Author: 罗仲景 |
Hits:
Description: poj1046的源码,希望能够帮助没有ac的人-poj1046 source hope help who can t ac the problem
Platform: |
Size: 125952 |
Author: shenjiahui |
Hits:
Description: POJ acm 题目源码,总共5道题分别是1046 2028 2245 3749 3570-POJ acm problems Source, a total of five questions are the 1046 2028,2245 3749,3570
Platform: |
Size: 5236736 |
Author: 陈海宾 |
Hits:
Description: 22. 切木头
成绩: 10 / 折扣: 0.9
背景
人们需要把一跟很长的木头切成几段,有一家名为 Analog Cutting Machinery (ACM) 的公司正在经营这一业务。他们根据切割前木头的长度来收费,木头越长、收费越高,并且每切割一次就收一次费。
显而易见,在这里切割木头时,不同的切割顺序就会产生不同的价钱。譬如一跟 10 米长的木头,需要在 2、4、7 米处切开。如果顺序在这三个位置切割,需要的费用是 10 8 6 = 24,因为木头原始长度为 10 米,切掉两米剩 8 米,在四米处切掉剩 6 米。如果按照 4、2、7 的顺序来切割,花费就是 10 4 6 = 20。
任务
你的老板有很多木材要切割,现在他希望你能够帮他找到最便宜的切割方式。
输入
一次输入可能包含多组数据。每一组数据的第一行是木材的长度L (L<=1000),如果为 0 则表示输入结束。每组数据的第二行是要切割的次数 N (N<=50),第三行则是切割的位置Ci (0<Ci<L)。以上数据均为整数。
输出
针对每一组输入,输出切割这段木头的最小费用。
-22. Cutting wood
Results: 10/Discount: 0.9
Background
People need to put a cut into the wood with long paragraphs, there is a company called Analog Cutting Machinery (ACM) of the company is operating the business. Them according to the length of wood before cutting charges, the longer the wood, the higher the fees, and each time to receive a fee cut.
Obviously, cutting wood in here, different order will produce different cutting price. For instance, one with 10 meters of wood, you need to cut the 2,4,7 meters. If the sequence of cutting in these three locations, the cost of required 1086 = 24, because the original length of 10 meters of wood, cut two meters 8 meters left, cut off the remaining four meters 6 meters. If the cut in accordance with the order 4,2,7, cost is 1046 = 20.
Task
Your boss has a lot of wood to be cut, and now he wants you to help him find the cheapest way of cutting.
Input
One input may contain multiple sets of data. The first line of each set of dat
Platform: |
Size: 1024 |
Author: a123 |
Hits:
Description: 杭州电子科技大学关于ACM1036 1038 1046 1065 1159 2084的相关解法及源程序。-Hangzhou University of Electronic Science and Technology-related solution and source code on ACM1036 1038 1046 1065 1159 2084' s.
Platform: |
Size: 3072 |
Author: 成曹飞 |
Hits:
Description: WOJ 1046,1119,1157,C语言,可直接提交-WOJ 1046,1119,1157, C language, can be submitted directly
Platform: |
Size: 1024 |
Author: Sue Zhang |
Hits: