結果
| 問題 |
No.264 じゃんけん
|
| コンテスト | |
| ユーザー |
vrjfsyi
|
| 提出日時 | 2018-04-10 07:42:17 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 403 bytes |
| コンパイル時間 | 503 ms |
| コンパイル使用メモリ | 66,332 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-26 20:52:12 |
| 合計ジャッジ時間 | 1,005 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
#include <array>
#include <map>
#include <stack>
#include <queue>
#include <set>
using namespace std;
int main() {
int N, K;
cin >> N >> K;
if (N == K) {
cout << "Drew";
} else if (N - K == 2 or K - N == 1) {
cout << "Won";
} else {
cout << "Lost";
}
cout << "\n";
}
vrjfsyi