CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - WORD
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - WORD - List
[
Fractal program
]
Tight-words
DL : 0
描述: 提出了一个字母,一个…{ 0 },< = k - k < = 9。我们说一个字的长度n在这个字母是紧如果任何两个邻居位数不同的词不超过1。输入是一个序列的线,每行包含两个整数n、k和1 < = n < = 100。在每一行输入、输出的百分比的长度n多紧单词字母{ 0、1、……,凯西} 5分形位数。 样本输入: 4一 2 5 3 - 5 8 7 样本输出: 100.00000 40.74074 17.38281 0.10130-Description: Given is an alphabet {0, 1, ... , k}, 0 <= k <= 9 . We say that a word of length n over this alphabet is tight if any two neighbour digits in the word do not differ by more than 1. Input is a sequence of lines, each line contains two integer numbers k and n, 1 <= n <= 100. For each line of input, output the percentage of tight words of length n over the alphabet {0, 1, ... , k} with 5 fractional digits. Sample Input: 4 1 2 5 3 5 8 7 Sample Output: 100.00000 40.74074 17.38281 0.10130
Date
: 2025-12-19
Size
: 9kb
User
:
沙魄郎君
[
Fractal program
]
a_11d
DL : 0
要求通过对状态字IBFB和OBFA的测试来控制程序运行。外设信号STBB和ACKA由消抖电路产生。-Required to run through the status word IBFB and OBFA tests to control procedures. ACKA STBB and peripheral signals generated by the debounce circuit.
Date
: 2025-12-19
Size
: 2.18mb
User
:
bei
[
Fractal program
]
Word-
DL : 0
使用MATLAB BP 网络做二元函数逼近-Use MATLAB BP network to do a binary function approximation
Date
: 2025-12-19
Size
: 3kb
User
:
guo
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.