結果

問題 No.910 素数部分列
ユーザー tailstails
提出日時 2019-10-24 16:26:02
言語 Perl
(5.38.2)
結果
AC  
実行時間 179 ms / 1,000 ms
コード長 75 bytes
コンパイル時間 261 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 23,208 KB
最終ジャッジ日時 2023-09-23 03:55:00
合計ジャッジ時間 7,344 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,444 KB
testcase_01 AC 3 ms
4,676 KB
testcase_02 AC 2 ms
4,604 KB
testcase_03 AC 2 ms
4,728 KB
testcase_04 AC 2 ms
4,556 KB
testcase_05 AC 3 ms
4,544 KB
testcase_06 AC 3 ms
4,512 KB
testcase_07 AC 2 ms
4,724 KB
testcase_08 AC 3 ms
4,488 KB
testcase_09 AC 2 ms
4,548 KB
testcase_10 AC 2 ms
4,552 KB
testcase_11 AC 2 ms
4,732 KB
testcase_12 AC 3 ms
4,604 KB
testcase_13 AC 2 ms
4,732 KB
testcase_14 AC 2 ms
4,556 KB
testcase_15 AC 3 ms
4,760 KB
testcase_16 AC 3 ms
4,680 KB
testcase_17 AC 3 ms
4,444 KB
testcase_18 AC 2 ms
4,548 KB
testcase_19 AC 3 ms
4,756 KB
testcase_20 AC 2 ms
4,732 KB
testcase_21 AC 3 ms
4,560 KB
testcase_22 AC 3 ms
4,608 KB
testcase_23 AC 168 ms
21,916 KB
testcase_24 AC 170 ms
22,304 KB
testcase_25 AC 169 ms
22,288 KB
testcase_26 AC 170 ms
22,172 KB
testcase_27 AC 168 ms
22,192 KB
testcase_28 AC 174 ms
23,028 KB
testcase_29 AC 167 ms
22,508 KB
testcase_30 AC 170 ms
22,800 KB
testcase_31 AC 166 ms
21,836 KB
testcase_32 AC 172 ms
22,360 KB
testcase_33 AC 171 ms
22,988 KB
testcase_34 AC 172 ms
22,664 KB
testcase_35 AC 174 ms
22,708 KB
testcase_36 AC 171 ms
22,680 KB
testcase_37 AC 173 ms
22,548 KB
testcase_38 AC 174 ms
22,716 KB
testcase_39 AC 173 ms
22,788 KB
testcase_40 AC 172 ms
22,824 KB
testcase_41 AC 173 ms
22,760 KB
testcase_42 AC 174 ms
22,800 KB
testcase_43 AC 173 ms
22,764 KB
testcase_44 AC 174 ms
22,612 KB
testcase_45 AC 173 ms
22,712 KB
testcase_46 AC 177 ms
22,776 KB
testcase_47 AC 174 ms
22,760 KB
testcase_48 AC 179 ms
23,208 KB
testcase_49 AC 153 ms
23,136 KB
testcase_50 AC 155 ms
22,992 KB
testcase_51 AC 178 ms
23,124 KB
testcase_52 AC 169 ms
22,772 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "a" may clash with future reserved word at Main.pl line 1.
Unquoted string "c" may clash with future reserved word at Main.pl line 1.
Unquoted string "b" may clash with future reserved word at Main.pl line 1.
Unquoted string "c" may clash with future reserved word at Main.pl line 1.
Useless use of non-destructive substitution (s///r) in void context at Main.pl line 1.
Name "main::c" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

<>;<>=~s/./++${$&<2?a:$&>8?$a?$a--&&c:b:c}/ger;print$c+$a-($-=$a/2-$b/4+.8)
0