結果
問題 |
No.264 じゃんけん
|
ユーザー |
![]() |
提出日時 | 2019-03-21 10:28:28 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 313 bytes |
コンパイル時間 | 1,644 ms |
コンパイル使用メモリ | 166,004 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-19 01:26:09 |
合計ジャッジ時間 | 2,042 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 WA * 3 |
ソースコード
#include <bits/stdc++.h> typedef long long ll; const int INF = 1e9; const ll LINF = 1e18; const int MOD = 1e9 + 7; using namespace std; int main() { int n, k; cin >> n >> k; if (n == k) cout << "Drew" << endl; else if ((n + k) % 2 == 0) cout << "Lost" << endl; else cout << "Won" << endl; }