結果

問題 No.794 チーム戦 (2)
ユーザー kotatsugamekotatsugame
提出日時 2019-02-22 23:19:55
言語 Perl
(5.38.2)
結果
AC  
実行時間 408 ms / 1,500 ms
コード長 109 bytes
コンパイル時間 201 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 46,836 KB
最終ジャッジ日時 2024-05-04 11:45:21
合計ジャッジ時間 7,490 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,376 KB
testcase_01 AC 3 ms
5,376 KB
testcase_02 AC 3 ms
5,632 KB
testcase_03 AC 3 ms
5,504 KB
testcase_04 AC 3 ms
5,504 KB
testcase_05 AC 2 ms
5,376 KB
testcase_06 AC 2 ms
5,376 KB
testcase_07 AC 2 ms
5,376 KB
testcase_08 AC 3 ms
5,632 KB
testcase_09 AC 3 ms
5,504 KB
testcase_10 AC 3 ms
5,376 KB
testcase_11 AC 2 ms
5,504 KB
testcase_12 AC 3 ms
5,376 KB
testcase_13 AC 3 ms
5,504 KB
testcase_14 AC 393 ms
43,232 KB
testcase_15 AC 387 ms
43,236 KB
testcase_16 AC 404 ms
43,360 KB
testcase_17 AC 386 ms
43,236 KB
testcase_18 AC 393 ms
43,360 KB
testcase_19 AC 390 ms
43,236 KB
testcase_20 AC 388 ms
43,360 KB
testcase_21 AC 408 ms
43,360 KB
testcase_22 AC 224 ms
28,280 KB
testcase_23 AC 193 ms
25,800 KB
testcase_24 AC 148 ms
21,532 KB
testcase_25 AC 122 ms
19,092 KB
testcase_26 AC 137 ms
20,268 KB
testcase_27 AC 269 ms
46,832 KB
testcase_28 AC 266 ms
46,832 KB
testcase_29 AC 259 ms
46,708 KB
testcase_30 AC 248 ms
46,704 KB
testcase_31 AC 263 ms
46,708 KB
testcase_32 AC 260 ms
46,704 KB
testcase_33 AC 267 ms
46,836 KB
testcase_34 AC 262 ms
46,704 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "i" may clash with future reserved word at Main.pl line 1.
Name "main::j" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$\=<>=~$";@a=sort{$a-$b}split$",<>;($\*=--${0while$i<@a&&$a[$i++]+$a[-1]<=$';i}-$j++)%=1e9+7,$#a--for@a;print
0