結果

問題 No.851 テストケース
ユーザー tonyu0tonyu0
提出日時 2020-05-04 09:56:29
言語 Raku
(rakudo v2024.02)
結果
AC  
実行時間 435 ms / 3,153 ms
コード長 235 bytes
コンパイル時間 430 ms
コンパイル使用メモリ 131,312 KB
実行使用メモリ 134,432 KB
最終ジャッジ日時 2023-09-06 03:08:17
合計ジャッジ時間 11,702 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 428 ms
134,432 KB
testcase_01 AC 428 ms
132,032 KB
testcase_02 AC 418 ms
134,164 KB
testcase_03 AC 425 ms
133,704 KB
testcase_04 AC 427 ms
131,548 KB
testcase_05 AC 424 ms
132,056 KB
testcase_06 AC 425 ms
133,708 KB
testcase_07 AC 425 ms
133,916 KB
testcase_08 AC 425 ms
133,824 KB
testcase_09 AC 430 ms
134,216 KB
testcase_10 AC 428 ms
132,032 KB
testcase_11 AC 424 ms
134,156 KB
testcase_12 AC 433 ms
132,712 KB
testcase_13 AC 430 ms
134,016 KB
testcase_14 AC 435 ms
134,320 KB
testcase_15 AC 430 ms
131,424 KB
testcase_16 AC 421 ms
131,696 KB
testcase_17 AC 419 ms
132,028 KB
testcase_18 AC 426 ms
133,888 KB
testcase_19 AC 419 ms
134,392 KB
testcase_20 AC 417 ms
134,212 KB
testcase_21 AC 420 ms
133,736 KB
testcase_22 AC 428 ms
134,244 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

get;
my @a = get.split(" ");
if (@a.elems > 1) {
    say '"assert"'
} else {
    my $b = get;
    my $c = get;
    my @d = [];
    @d.push(@a[0] + $b);
    @d.push($b + $c);
    @d.push($c + @a[0]);
    @d.sort.reverse.unique[1].say;
}
0