結果
問題 |
No.264 じゃんけん
|
ユーザー |
|
提出日時 | 2021-03-08 22:30:10 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 273 bytes |
コンパイル時間 | 1,507 ms |
コンパイル使用メモリ | 165,632 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-10 11:43:18 |
合計ジャッジ時間 | 2,065 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 9 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ int N,K; cin >> N >> K; if(N == K){ cout << "DREW" << endl; } else if(K - N == 2 || N - K == 1){ cout << "LOST" << endl; } else{ cout << "WON" << endl; } }