結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー wanjing8
提出日時 2019-06-19 03:38:47
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 242 bytes
コンパイル時間 121 ms
コンパイル使用メモリ 28,928 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-30 07:58:42
合計ジャッジ時間 1,068 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>

int main(void){
  int hun,ten;
  scanf("%d",&hun);
  scanf("%d",&ten);

  if(ten%2==1)
    printf("NO\n");
  else if((hun%2==1 && ten>=10) || (hun%2==0 && ten%2==0)){
    printf("YES\n");
  }else{
    printf("NO\n");
  }
}
0