結果
| 問題 | 
                            No.264 じゃんけん
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2018-09-27 22:52:49 | 
| 言語 | JavaScript  (node v23.5.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 337 bytes | 
| コンパイル時間 | 34 ms | 
| コンパイル使用メモリ | 6,692 KB | 
| 実行使用メモリ | 41,204 KB | 
| 最終ジャッジ日時 | 2024-10-13 00:42:08 | 
| 合計ジャッジ時間 | 1,009 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 3 WA * 6 | 
ソースコード
function Main(input) {
  input = input.split(' ');
  let mine = parseInt(input[0]);
  let yours = parseInt(input[1]);
  switch (mine - yours) {
    case 0:
      console.log('Drew');
    case 1:
    case -2:
      console.log('Lost');
    default:
      console.log('Won');
  }
}
Main(require('fs').readFileSync('/dev/stdin', 'utf8'));