結果

問題 No.264 じゃんけん
ユーザー ieneko18ieneko18
提出日時 2016-11-28 03:41:23
言語 PHP
(8.3.4)
結果
AC  
実行時間 36 ms / 5,000 ms
コード長 172 bytes
コンパイル時間 78 ms
コンパイル使用メモリ 30,852 KB
実行使用メモリ 31,280 KB
最終ジャッジ日時 2024-05-05 14:29:13
合計ジャッジ時間 889 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
31,052 KB
testcase_01 AC 35 ms
30,984 KB
testcase_02 AC 36 ms
31,280 KB
testcase_03 AC 36 ms
31,188 KB
testcase_04 AC 34 ms
31,196 KB
testcase_05 AC 34 ms
31,140 KB
testcase_06 AC 34 ms
30,836 KB
testcase_07 AC 33 ms
30,964 KB
testcase_08 AC 33 ms
31,240 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($n,$k)=explode(" ",trim(fgets(STDIN)));
switch(($n-$k+3)%3){
    case 0:echo "Drew\n";break;
    case 1:echo "Lost\n";break;
    case 2:echo "Won\n";break;
}
?>
0