結果

問題 No.857 素振り
ユーザー tonyu0tonyu0
提出日時 2020-05-01 09:38:54
言語 Raku
(rakudo v2024.02)
結果
AC  
実行時間 395 ms / 1,000 ms
コード長 127 bytes
コンパイル時間 1,032 ms
コンパイル使用メモリ 122,608 KB
実行使用メモリ 136,196 KB
最終ジャッジ日時 2023-08-24 23:39:53
合計ジャッジ時間 6,794 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 393 ms
134,412 KB
testcase_01 AC 390 ms
134,744 KB
testcase_02 AC 391 ms
134,448 KB
testcase_03 AC 392 ms
136,196 KB
testcase_04 AC 391 ms
134,508 KB
testcase_05 AC 395 ms
135,128 KB
testcase_06 AC 391 ms
134,384 KB
testcase_07 AC 395 ms
134,364 KB
testcase_08 AC 390 ms
134,632 KB
testcase_09 AC 392 ms
134,708 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

my ($x, $y, $z) = get.chomp.split(" ");
my $ans = $z;
if $x <= $z {
    $ans--;
}
if $y <= $z {
    $ans--;
}
"%d".printf($ans)
0