結果
| 問題 |
No.264 じゃんけん
|
| コンテスト | |
| ユーザー |
P
|
| 提出日時 | 2023-09-11 16:13:22 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 400 bytes |
| コンパイル時間 | 1,586 ms |
| コンパイル使用メモリ | 165,260 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-29 06:19:57 |
| 合計ジャッジ時間 | 2,190 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
#include<bits/stdc++.h>
#define rep(i,l,n) for (int i = (l); i < (n); i++)
using ll = long long;
using namespace std;
int main(){
int n, k;
cin >> n >> k;
if (n == k)cout << "Drew" << endl;
else if (n == 0 && k == 2) cout << "Lost" << endl;
else if (n == 1 && k == 0) cout << "Lost" << endl;
else if (n == 2 && k == 1) cout << "Lost" << endl;
else cout << "Won" << endl;
}
P