結果

問題 No.851 テストケース
ユーザー tonyu0tonyu0
提出日時 2020-05-04 09:54:51
言語 Raku
(rakudo v2024.02)
結果
WA  
実行時間 -
コード長 225 bytes
コンパイル時間 2,580 ms
コンパイル使用メモリ 133,176 KB
実行使用メモリ 134,752 KB
最終ジャッジ日時 2023-09-06 03:05:09
合計ジャッジ時間 14,486 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 469 ms
134,420 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 432 ms
134,420 KB
testcase_16 AC 423 ms
134,408 KB
testcase_17 AC 421 ms
134,348 KB
testcase_18 AC 421 ms
134,228 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 425 ms
134,444 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.unique[0].say;
}
0