結果
問題 | No.264 じゃんけん |
ユーザー |
![]() |
提出日時 | 2020-07-18 21:23:47 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 328 bytes |
コンパイル時間 | 1,780 ms |
コンパイル使用メモリ | 165,060 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-14 07:54:14 |
合計ジャッジ時間 | 2,236 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int N, K; cin >> N >> K; if (N == 0 && K == 1 || N == 1 && K == 2 || N == 2 && K == 0){ cout << "Won" << endl; } if (N == 0 && K == 2 || N == 1 && K == 0 || N == 2 && K == 1){ cout << "Lost" << endl; } if (N == K){ cout << "Drew" << endl; } }