結果

問題 No.264 じゃんけん
ユーザー rahi_rahi_Rahio
提出日時 2017-09-15 23:25:17
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 213 bytes
コンパイル時間 1,779 ms
コンパイル使用メモリ 27,520 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-07 22:54:29
合計ジャッジ時間 819 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int main(){
  int N,K;
  scanf("%D %D",&N,&K);
  if(N==K)
    printf("Drew\n");
  else if((N==0&&K==1)||(N==1&&K==2)||(N==2&&K==0))
    printf("Lost\n");
  else
    printf("Won\n");
  return 0;
}
0