結果

問題 No.630 門松グラフ
ユーザー %20%20
提出日時 2018-01-06 01:29:34
言語 Perl
(5.38.2)
結果
AC  
実行時間 156 ms / 1,500 ms
コード長 117 bytes
コンパイル時間 56 ms
コンパイル使用メモリ 5,380 KB
実行使用メモリ 23,284 KB
最終ジャッジ日時 2023-08-24 21:22:11
合計ジャッジ時間 4,218 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,084 KB
testcase_01 AC 6 ms
5,224 KB
testcase_02 AC 6 ms
5,088 KB
testcase_03 AC 6 ms
5,224 KB
testcase_04 AC 6 ms
5,344 KB
testcase_05 AC 6 ms
5,220 KB
testcase_06 AC 6 ms
5,336 KB
testcase_07 AC 6 ms
5,216 KB
testcase_08 AC 6 ms
5,152 KB
testcase_09 AC 6 ms
5,340 KB
testcase_10 AC 5 ms
5,312 KB
testcase_11 AC 6 ms
5,316 KB
testcase_12 AC 6 ms
5,260 KB
testcase_13 AC 6 ms
5,224 KB
testcase_14 AC 6 ms
5,216 KB
testcase_15 AC 6 ms
5,148 KB
testcase_16 AC 6 ms
5,228 KB
testcase_17 AC 6 ms
5,292 KB
testcase_18 AC 6 ms
5,252 KB
testcase_19 AC 6 ms
5,212 KB
testcase_20 AC 156 ms
23,220 KB
testcase_21 AC 6 ms
5,188 KB
testcase_22 AC 156 ms
23,284 KB
testcase_23 AC 6 ms
5,176 KB
testcase_24 AC 115 ms
19,376 KB
testcase_25 AC 6 ms
5,148 KB
testcase_26 AC 115 ms
19,328 KB
testcase_27 AC 115 ms
19,368 KB
testcase_28 AC 149 ms
22,776 KB
testcase_29 AC 131 ms
20,488 KB
testcase_30 AC 136 ms
21,348 KB
testcase_31 AC 121 ms
19,520 KB
testcase_32 AC 73 ms
13,196 KB
testcase_33 AC 61 ms
12,316 KB
testcase_34 AC 102 ms
16,712 KB
testcase_35 AC 71 ms
13,440 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise | operator at Main.pl line 2.
Main.pl syntax OK

ソースコード

diff #

($N,$M)=glob<>;
$,=$/;print$M>($a=$N>>1)*($b=$N-$a)|$M<$N-1?NO:(YES,1..$N,map{$_%$a+1,$a+1+($_%$a+$_/$a)%$b}0..$M-1)
0