-
DS1302
DS1302 spi halfduplex driver
- 2017-12-28 02:19:41下载
- 积分:1
-
077404
改进的粒子群算法--自适应粒子群算法,在普通的粒子群算法里面加入了熵和(Improved particle swarm optimization (pso) algorithm, adaptive particle swarm optimization (pso) algorithm, in the ordinary course of joined the entropy and particle swarm optimization (pso) algorithm)
- 2017-08-13 07:11:54下载
- 积分:1
-
item3
车轮上刻有一圈共n个英文小写字母,滚滚向前每碾过一圈就留下一条印迹,这类印迹都是长度为n的字符串。显然,从不同位置开始碾,可能得到不同的印迹。既然历史的车轮滚滚向前,故不必考虑向后碾的情况。于是,一个车轮最多对应于n条不同的印迹;反之,不同的印迹也可能来自相同的车轮。
也就是说,两条印迹若能通过循环移位相互转换,则它们来自同一条车轮。比如,所谓的循环左移k位,是指将字符串"s1 ... sk sk+1 ... sn"转换为"sk+1 ... sn s1 ... sk"。
现在,已知不同车轮的m条印迹,请你核对它们的所属的车轮。
输入
第一行有两个正整数,即车轮周长n和印迹总数m。
接下来的m行分别给出m条印迹,长度均为n。
输出
共m行,依次对应于m条印迹。
若第i条印迹与之前的第k条(0 < k < i)印迹来自同一车轮,则输出编号k;若存在多个这样的k,则输出最小者。否则(第i条印迹所来自的车轮不同于之前的所有车轮),则输出0。(If strip I imprinting and previous article K (0 < K < I) imprinted from the same wheel, the output number k is output; if there are many such K, the output is the smallest. Otherwise (the wheel from the I mark is different from all the previous wheels), the output is 0.)
- 2018-01-11 20:01:20下载
- 积分:1
-
mctk
说明: envi重投影工具,可添加为envi插件使用(mctk tool for reproject)
- 2019-10-25 11:32:47下载
- 积分:1
-
emacs 中的一个插件,对于想学习EMACS编程的 很有用。
emacs 中的一个插件,对于想学习EMACS编程的 很有用。-emacs in a plug-in, for want to learn useful programming EMACS.
- 2022-01-31 20:47:44下载
- 积分:1
-
打印机功能集程序
打印机功能集合程序-printers feature set procedures
- 2022-03-10 11:42:30下载
- 积分:1
-
robust-tube-mpc
说明: 使用管鲁棒模型预测控制
这个库包含示例管模型预测控制(tube-MPC)[1, 2]以及通用模型预测控制(MPC)用MATLAB编写的。(Robust Model Predictive Control Using Tube
This repository includes examples for the tube model predictive control (tube-MPC)[1, 2] as well as the generic model predictive control (MPC) written in MATLAB.)
- 2021-03-16 16:39:21下载
- 积分:1
-
免疫粒子程序
说明: 免疫粒子群算法是粒子群算法得一种,求30节点的电力系统潮流有较好的效果(Immune particle swarm optimization is a kind of particle swarm optimization algorithm, and it has a good effect on power flow of 30 nodes power system)
- 2020-02-06 23:08:13下载
- 积分:1
-
jiabenrongjie
fluent 气液传质udf ,可模拟水界面对甲苯的吸收(fluent gas-liquid mass transfer udf, can simulate the absorption of toluene on the water interface)
- 2020-12-06 23:19:57下载
- 积分:1
-
#include<stdio.h>
struct powernode
{
float pi
float qi
in...
#include
struct powernode
{
float pi
float qi
int i
float vi
}
struct powernode wg[20]
struct powernode wl[20]
struct linedata
- 2022-02-11 23:55:05下载
- 积分:1