結果

問題 No.264 じゃんけん
ユーザー MaboyMaboy
提出日時 2021-05-28 15:20:51
言語 Swift
(5.10.0)
結果
WA  
実行時間 -
コード長 161 bytes
コンパイル時間 16,769 ms
コンパイル使用メモリ 128,488 KB
実行使用メモリ 9,088 KB
最終ジャッジ日時 2024-04-24 19:22:54
合計ジャッジ時間 16,639 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
9,088 KB
testcase_01 WA -
testcase_02 AC 9 ms
9,088 KB
testcase_03 AC 9 ms
8,960 KB
testcase_04 AC 8 ms
8,960 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 9 ms
8,960 KB
testcase_08 AC 9 ms
8,960 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

let I = readLine()!.split(separator:" ").map{Int($0)}
let Judgments = ["Drew","Lost","Win"]
var Judgment = (I[0]! - I[1]! + 3) % 3
print( Judgments[ Judgment ] )
0