結果
| 問題 |
No.264 じゃんけん
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-02-22 17:56:56 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 173 bytes |
| コンパイル時間 | 401 ms |
| コンパイル使用メモリ | 54,040 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-22 13:03:48 |
| 合計ジャッジ時間 | 903 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 6 |
ソースコード
#include <iostream>
using namespace std;
int main() {
int y, n;
cin >> y >> n;
cout << ( y == n ? "Drew" : (y + 1 == (n == 0 ? 3 : 0) ? "Win" : "Lose")) << endl;
return 0;
}