結果
問題 |
No.264 じゃんけん
|
ユーザー |
![]() |
提出日時 | 2020-04-01 11:25:30 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 205 bytes |
コンパイル時間 | 1,925 ms |
コンパイル使用メモリ | 167,288 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-26 07:24:41 |
合計ジャッジ時間 | 2,583 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
#include <bits/stdc++.h> using namespace std; signed main(){ int n,k;cin>>n>>k; if((n-k+3)%3==1)cout<<"Lost"<<endl; if((n-k+3)%3==2)cout<<"Won"<<endl; if((n-k+3)%3==0)cout<<"Drew"<<endl; }