結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー wanjing8
提出日時 2019-06-19 03:40:48
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 254 bytes
コンパイル時間 233 ms
コンパイル使用メモリ 28,800 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-30 07:58:44
合計ジャッジ時間 898 ms
ジャッジサーバーID
(参考情報)
judge5 / 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");
  }
  return 0;
}
0