結果

問題 No.969 じゃんけん
ユーザー GafoGafo
提出日時 2020-01-28 12:11:42
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 272 bytes
コンパイル時間 348 ms
コンパイル使用メモリ 27,776 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-15 11:33:42
合計ジャッジ時間 841 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main()
{
  int a,b,c;
  int x;

  a = 0;
  b = 2;
  c = 5;

  scanf("%d", &x);

 if((a+a) == x)
{
  printf("Yes\n");
}

else if((b+b) == x)
{
  printf("Yes\n");
}

else if((c+c) == x)
{
  printf("Yes\n");
}

else
{
  printf("No\n");
}

return 0;

}
0