Shell
各言語での実行時間の計測メモ。 シェルスクリプト #!/bin/sh TIME_START=`date +%s` # start # end TIME_END=`date +%s` PT=`expr ${TIME_END} - ${TIME_START}` H=`expr ${PT} / 3600` PT=`expr ${PT} % 3600` M=`expr ${PT} / 60` S=`expr ${PT} % 60` ec…
各言語での実行時間の計測メモ。 シェルスクリプト #!/bin/sh TIME_START=`date +%s` # start # end TIME_END=`date +%s` PT=`expr ${TIME_END} - ${TIME_START}` H=`expr ${PT} / 3600` PT=`expr ${PT} % 3600` M=`expr ${PT} / 60` S=`expr ${PT} % 60` ec…