結果

問題 No.264 じゃんけん
ユーザー siranui
提出日時 2016-06-22 15:07:50
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 259 bytes
コンパイル時間 504 ms
コンパイル使用メモリ 58,864 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-11 19:19:54
合計ジャッジ時間 884 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<cmath>
using namespace std;

int main(){
   int Me,You;
   cin >> Me >> You;
   if(Me == You){
      cout << "Drew\n";
   }else if(You == (Me + 1) % 3){
      cout << "Won\n";
   }else{
      cout << "Lost\n";
   }

   return 0;
}
0