結果
問題 | No.747 循環小数N桁目 Hard |
ユーザー |
![]() |
提出日時 | 2022-11-17 18:27:44 |
言語 | Perl (5.40.0) |
結果 |
AC
|
実行時間 | 49 ms / 2,000 ms |
コード長 | 86 bytes |
コンパイル時間 | 27 ms |
コンパイル使用メモリ | 6,684 KB |
実行使用メモリ | 13,312 KB |
最終ジャッジ日時 | 2024-09-19 05:53:08 |
合計ジャッジ時間 | 4,773 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 120 |
コンパイルメッセージ
Useless use of non-destructive substitution (s///r) in void context at Main.pl line 1. Main.pl syntax OK
ソースコード
<>=~s/./$n+=$&/ger;$n%=3;$n+=$&+$n&1&&3; <>=~/.$/; print+(4,2,8,5,7,1)[$n**($&|2)%6];