結果
| 問題 | No.264 じゃんけん |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-08-11 22:40:13 |
| 言語 | JavaScript (node v26.7.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 37 ms / 5,000 ms |
| + 984µs | |
| コード長 | 324 bytes |
| 記録 | |
| コンパイル時間 | 3 ms |
| コンパイル使用メモリ | 7,980 KB |
| 実行使用メモリ | 49,536 KB |
| 最終ジャッジ日時 | 2026-09-15 06:45:09 |
| 合計ジャッジ時間 | 1,489 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
function Main(input) {
const hands = input.split(" ")
switch ((Number(hands[1]) + 3 - Number(hands[0])) % 3) {
case 0:
console.log('Drew')
break
case 1:
console.log('Won')
break
case 2:
console.log('Lost')
break
}
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"))