mstelratio.pl.in
来自「Lin-Kernighan heuristic for the TSP and 」· IN 代码 · 共 15 行
IN
15 行
#! @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 + -
显示快捷键?