結果
問題 |
No.264 じゃんけん
|
ユーザー |
![]() |
提出日時 | 2017-01-22 19:48:07 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 373 bytes |
コンパイル時間 | 524 ms |
コンパイル使用メモリ | 63,224 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-23 05:41:11 |
合計ジャッジ時間 | 1,073 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 9 |
ソースコード
#include "iostream" #include "cmath" #include "algorithm" #include "string" #include "vector" using namespace std; int s = 0; void output() { cout << s << endl; } int main() { int a, b; cin >> a >> b; if (a - b == 0) { cout << "Draw" << endl; } else if (a - b == 1 || b - a == 2) { cout << "Lose" << endl; } else { cout << "Win" << endl; } return 0; }