結果

問題 No.887 Collatz
ユーザー %20%20
提出日時 2019-09-21 03:03:22
言語 Perl
(5.38.2)
結果
MLE  
実行時間 -
コード長 61 bytes
コンパイル時間 194 ms
コンパイル使用メモリ 5,156 KB
実行使用メモリ 813,784 KB
最終ジャッジ日時 2023-10-13 13:57:18
合計ジャッジ時間 4,575 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,576 KB
testcase_01 AC 2 ms
4,688 KB
testcase_02 AC 3 ms
4,512 KB
testcase_03 AC 3 ms
4,448 KB
testcase_04 AC 2 ms
4,596 KB
testcase_05 AC 2 ms
4,436 KB
testcase_06 AC 2 ms
4,660 KB
testcase_07 AC 2 ms
4,496 KB
testcase_08 AC 2 ms
4,544 KB
testcase_09 AC 2 ms
4,444 KB
testcase_10 AC 2 ms
4,580 KB
testcase_11 AC 2 ms
4,432 KB
testcase_12 AC 2 ms
4,632 KB
testcase_13 AC 3 ms
4,576 KB
testcase_14 AC 3 ms
5,164 KB
testcase_15 MLE -
testcase_16 AC 177 ms
263,216 KB
testcase_17 AC 36 ms
90,752 KB
testcase_18 AC 3 ms
5,544 KB
testcase_19 AC 2 ms
4,964 KB
testcase_20 AC 3 ms
6,264 KB
testcase_21 AC 3 ms
5,108 KB
testcase_22 AC 4 ms
5,240 KB
testcase_23 AC 3 ms
4,424 KB
testcase_24 AC 2 ms
4,752 KB
testcase_25 AC 3 ms
5,832 KB
testcase_26 AC 3 ms
4,472 KB
testcase_27 AC 3 ms
5,048 KB
testcase_28 AC 14 ms
24,900 KB
testcase_29 MLE -
testcase_30 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$n=<>;$n=$n%2?3*$n+1:$n/2,++$%while$_[$n]=$n-1;print$%,$/,$#_
0