結果

問題 No.264 じゃんけん
ユーザー rahi_rahi_Rahio
提出日時 2017-09-14 23:32:05
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 214 bytes
コンパイル時間 232 ms
コンパイル使用メモリ 27,648 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-07 21:03:36
合計ジャッジ時間 640 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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("Won\n");
  else
    printf("Lost\n");
  return 0;
}
0