結果

問題 No.883 ぬりえ
ユーザー tailstails
提出日時 2019-09-13 23:49:36
言語 Perl
(5.38.2)
結果
AC  
実行時間 8 ms / 2,000 ms
コード長 125 bytes
コンパイル時間 163 ms
コンパイル使用メモリ 5,400 KB
実行使用メモリ 6,344 KB
最終ジャッジ日時 2023-09-17 15:35:08
合計ジャッジ時間 1,612 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,332 KB
testcase_01 AC 6 ms
5,196 KB
testcase_02 AC 6 ms
5,220 KB
testcase_03 AC 6 ms
5,216 KB
testcase_04 AC 6 ms
5,368 KB
testcase_05 AC 6 ms
5,308 KB
testcase_06 AC 6 ms
5,176 KB
testcase_07 AC 6 ms
5,196 KB
testcase_08 AC 6 ms
5,176 KB
testcase_09 AC 6 ms
5,148 KB
testcase_10 AC 6 ms
5,184 KB
testcase_11 AC 7 ms
5,224 KB
testcase_12 AC 6 ms
5,044 KB
testcase_13 AC 6 ms
5,308 KB
testcase_14 AC 7 ms
5,052 KB
testcase_15 AC 8 ms
6,344 KB
testcase_16 AC 7 ms
5,312 KB
testcase_17 AC 7 ms
5,184 KB
testcase_18 AC 6 ms
5,052 KB
testcase_19 AC 6 ms
5,116 KB
testcase_20 AC 6 ms
5,344 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise | operator at Main.pl line 2.
Main.pl syntax OK

ソースコード

diff #

($n,$k)=glob<>;
++$m while $m*$m<$n|$m*$k<$n;
@a=('.'x$m.$/)x$m;
vec($a[$_%$m],($_+$_/$m)%$m,8)=35 for 0..$n-1;
print$m,$/,@a
0