結果
問題 |
No.264 じゃんけん
|
ユーザー |
![]() |
提出日時 | 2022-09-28 10:36:56 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 26 ms / 5,000 ms |
コード長 | 397 bytes |
コンパイル時間 | 4,064 ms |
コンパイル使用メモリ | 250,128 KB |
最終ジャッジ日時 | 2025-02-07 17:45:40 |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
#include <stdio.h> #include <atcoder/all> #include <bits/stdc++.h> using namespace std; using namespace atcoder; using mint = modint998244353; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf32 1000000001 #define Inf64 4000000000000000001 int main(){ int a,b; cin>>a>>b; if(a==b)cout<<"Drew"<<endl; else if((a+1)%3==b)cout<<"Won"<<endl; else cout<<"Lost"<<endl; return 0; }