結果

問題 No.851 テストケース
ユーザー tonyu0tonyu0
提出日時 2020-05-04 09:55:46
言語 Raku
(rakudo v2024.02)
結果
WA  
実行時間 -
コード長 233 bytes
コンパイル時間 1,653 ms
コンパイル使用メモリ 132,756 KB
実行使用メモリ 132,360 KB
最終ジャッジ日時 2023-09-06 03:06:39
合計ジャッジ時間 11,836 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 389 ms
131,884 KB
testcase_01 AC 395 ms
132,108 KB
testcase_02 WA -
testcase_03 AC 397 ms
132,136 KB
testcase_04 AC 392 ms
131,856 KB
testcase_05 AC 391 ms
131,892 KB
testcase_06 AC 389 ms
132,140 KB
testcase_07 AC 388 ms
131,884 KB
testcase_08 AC 393 ms
132,360 KB
testcase_09 AC 393 ms
132,304 KB
testcase_10 AC 398 ms
131,884 KB
testcase_11 AC 400 ms
131,884 KB
testcase_12 AC 389 ms
131,588 KB
testcase_13 AC 397 ms
132,164 KB
testcase_14 AC 397 ms
132,120 KB
testcase_15 AC 386 ms
132,296 KB
testcase_16 AC 388 ms
132,220 KB
testcase_17 AC 387 ms
132,136 KB
testcase_18 AC 388 ms
132,296 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 394 ms
132,220 KB
testcase_22 AC 392 ms
132,100 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