結果

問題 No.1465 Archaea
ユーザー tails
提出日時 2021-04-04 15:24:25
言語 Perl
(5.40.0)
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 69 bytes
コンパイル時間 441 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-27 18:48:31
合計ジャッジ時間 1,635 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 20
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise | operator at Main.pl line 1.
Possible precedence problem on bitwise | operator at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$/=$";$n=<>;++$k,$n-=$n==4|$n&1?3:$n/2while$n>1;print!$n|$k><>?NO:YES
0