mstelratio.pl.in,v
来自「Lin-Kernighan heuristic for the TSP and 」· IN,V 代码 · 共 48 行
IN,V
48 行
head 1.1;access;symbols zero-five-zero:1.1 zero-four-seventeen:1.1 zero-four-ten:1.1 zero-four-nine:1.1 zero-four-eight:1.1 zero-four-five:1.1 zero-four-three:1.1 zero-four-zero:1.1;locks neto:1.1;comment @# @;1.1date 97.11.07.22.21.34; author neto; state Exp;branches;next ;desc@Compute MST element length ratios.@1.1log@Initial revision@text@#! @@PERL@@# @@configure_input@@# mstelratio.pl# Find and print the ratios of successive lengths.# Input is a sequence non-decreasing floating point numbers, one to a line.$line_no = 0;while( <> ) { $line = $_; if ( $line_no++ > 0 ) { print $line/$last,"\n"; } $last=$line;}@
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?