找到modelsim安装目录下的modelsim.ini文件。 将modelsim.ini的只读属性去掉。 打开quartus软件。选择Launch Simulation Library Compiler。 选择仿真工具modelsim。 设置modelsim路径。 选择需要的器件。 选择库语言。 ...
分类:
其他好文 时间:
2014-09-30 17:50:09
阅读次数:
236
1 # Basic Incast Simulation 2 # Check Args 3 if {$argc != 5} { 4 puts "Usage: ns incast " 5 exit 1 6 } 7 8 #########################...
分类:
其他好文 时间:
2014-09-19 15:25:45
阅读次数:
197
REFORM-3PC.V7.0FRNC-5PC.V8.0 通用加热炉工艺计算软件REFORM-3PC 烃类蒸汽转化炉的炉膛截面评级程序Steam Hydrocarbon Reforming Simulation ProgramREFORM-3PC is a rating program for th...
分类:
其他好文 时间:
2014-09-15 17:26:49
阅读次数:
235
A simple simulation problem.
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 679 Accepted Submission(s): 269
Problem Description
...
分类:
其他好文 时间:
2014-09-04 19:09:50
阅读次数:
265
题目大意:D表示在区间x,y内所有的元素扩充一倍;Q表示查询在这个下表以内的数字最多的个数为多少。
如:1,2,3.D 1 3 之后就变成了 1 1 2 2 3 3.Q 1 4 输出 2.
解题思路:每个节点记录两个信息:最大值的个数以及这个点一共有多少个数字。
A simple simulation problem.
Time Limit: 10000/5000 MS (Java/O...
分类:
其他好文 时间:
2014-08-29 22:46:08
阅读次数:
394
题目链接题意:给定n长的序列 m个操作序列默认为 1, 2, 3···n操作1:D [l,r] 把[l,r]区间增长 :( 1,2,3,4 进行 D [1,3]变成 1,1,2,2,3,3,4 )操作2:Q [l,r] 问区间[l,r] 上出现最多次数的数 的次数分析:会线段树,但是做题的时候没想到...
分类:
其他好文 时间:
2014-08-26 21:24:36
阅读次数:
261
Problem Description
There are n types of cells in the lab, numbered from 1 to n. These cells are put in a queue, the i-th cell belongs to type i. Each time I can use mitogen to double the cells in ...
分类:
其他好文 时间:
2014-08-26 15:38:46
阅读次数:
270
Problem Description
There are n types of cells in the lab, numbered from 1 to n. These cells are put in a queue, the i-th cell belongs to type i. Each time I can use mitogen to double the cells in ...
分类:
其他好文 时间:
2014-08-25 01:13:03
阅读次数:
321
Problem Description
There are n types of cells in the lab, numbered from 1 to n. These cells are put in a queue, the i-th cell belongs to type i. Each time I can use mitogen to double the cells in ...
分类:
其他好文 时间:
2014-08-25 01:12:13
阅读次数:
273
题意:
初始给出1-n的序列,有两个操作:
D l r,将[l,r]区间的每个数都复制一个;
Q l r,询问[l,r]区间内最多的相同数字的个数。
分析:
显然的线段树,但是这个序列的长度会因为D操作变化,即线段长度变化。通过观察发现这个序列永远是sort过的,那么我们只要维护每个数的数量,操作前找到l和r的位置,然后再单点更新、成段更新,成段询问,线段树的综合应用。...
分类:
其他好文 时间:
2014-08-24 12:59:22
阅读次数:
330