結果

問題 No.1399 すごろくで世界旅行 (構築)
ユーザー tailstails
提出日時 2021-02-19 22:00:52
言語 Perl
(5.38.2)
結果
AC  
実行時間 8 ms / 3,153 ms
コード長 97 bytes
コンパイル時間 364 ms
コンパイル使用メモリ 5,288 KB
実行使用メモリ 5,344 KB
最終ジャッジ日時 2023-10-15 01:33:39
合計ジャッジ時間 21,544 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,084 KB
testcase_01 AC 7 ms
5,144 KB
testcase_02 AC 6 ms
5,344 KB
testcase_03 AC 6 ms
5,160 KB
testcase_04 AC 6 ms
5,056 KB
testcase_05 AC 6 ms
5,132 KB
testcase_06 AC 7 ms
5,084 KB
testcase_07 AC 6 ms
5,132 KB
testcase_08 AC 6 ms
5,144 KB
testcase_09 AC 6 ms
5,088 KB
testcase_10 AC 7 ms
5,088 KB
testcase_11 AC 6 ms
5,140 KB
testcase_12 AC 6 ms
4,996 KB
testcase_13 AC 6 ms
5,076 KB
testcase_14 AC 6 ms
5,156 KB
testcase_15 AC 6 ms
5,252 KB
testcase_16 AC 6 ms
5,244 KB
testcase_17 AC 7 ms
5,340 KB
testcase_18 AC 8 ms
5,164 KB
testcase_19 AC 7 ms
5,124 KB
testcase_20 AC 7 ms
5,236 KB
testcase_21 AC 7 ms
5,152 KB
testcase_22 AC 7 ms
5,160 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

($v,$d)=glob<>;
if($d==1){
	print+(1x$v,$/)x$v;
}else{
	print 1x$v.$/,(1,0 x($v-1),$/)x($v-1);
}
0