結果
問題 | No.264 じゃんけん |
ユーザー |
![]() |
提出日時 | 2017-05-06 16:47:21 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 587 bytes |
コンパイル時間 | 2,050 ms |
コンパイル使用メモリ | 191,040 KB |
最終ジャッジ日時 | 2025-01-05 00:01:15 |
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
#include <bits/stdc++.h>//#include <boost/multiprecision/cpp_int.hpp>#define re(i,j,n) for(li i=(j);i<(n);i++)#define rep(i,n) re(i,0,(n))#define red(i,n) for(li i=n;i>0;i--)#define all(a) begin(a),end(a)#define pb(a) push_back(a)using namespace std;//namespace mp = boost::multiprecision;typedef long int li;typedef unsigned long long ull;typedef vector<int> vi;typedef vector<li> vli;typedef vector<string> vs;int main(){int a,b;cin>>a>>b;if(a==b)cout<<"Drew\n";else if(a+1==b || a-2==b)cout<<"Won\n";else cout<<"Lost\n";return 0;}