結果

問題 No.1139 Slime Race
ユーザー tailstails
提出日時 2020-07-31 21:23:45
言語 Perl
(5.38.2)
結果
AC  
実行時間 627 ms / 2,000 ms
コード長 76 bytes
コンパイル時間 388 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 40,012 KB
最終ジャッジ日時 2023-09-15 02:44:49
合計ジャッジ時間 7,260 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,084 KB
testcase_01 AC 6 ms
5,380 KB
testcase_02 AC 6 ms
5,188 KB
testcase_03 AC 7 ms
5,060 KB
testcase_04 AC 6 ms
5,256 KB
testcase_05 AC 6 ms
5,188 KB
testcase_06 AC 17 ms
5,900 KB
testcase_07 AC 6 ms
5,080 KB
testcase_08 AC 6 ms
5,316 KB
testcase_09 AC 6 ms
5,192 KB
testcase_10 AC 413 ms
39,996 KB
testcase_11 AC 404 ms
39,960 KB
testcase_12 AC 504 ms
37,144 KB
testcase_13 AC 6 ms
5,084 KB
testcase_14 AC 427 ms
39,872 KB
testcase_15 AC 337 ms
30,724 KB
testcase_16 AC 501 ms
39,352 KB
testcase_17 AC 437 ms
40,012 KB
testcase_18 AC 352 ms
31,564 KB
testcase_19 AC 247 ms
23,856 KB
testcase_20 AC 236 ms
23,188 KB
testcase_21 AC 350 ms
31,824 KB
testcase_22 AC 450 ms
39,108 KB
testcase_23 AC 627 ms
37,096 KB
testcase_24 AC 6 ms
5,064 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::n" used only once: possible typo at Main.pl line 1.
Name "main::x" used only once: possible typo at Main.pl line 2.
Main.pl syntax OK

ソースコード

diff #

($n,$d)=glob<>;
@x=glob<>;
@v=glob<>;
$v+=$_ for @v;
print int 1+($d-1)/$v;
0