結果

問題 No.1224 I hate Sqrt Inequality
ユーザー 2001_ishow
提出日時 2020-09-12 13:19:37
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 276 bytes
コンパイル時間 300 ms
コンパイル使用メモリ 28,928 KB
実行使用メモリ 13,636 KB
最終ジャッジ日時 2024-12-31 22:03:00
合計ジャッジ時間 3,956 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8 WA * 4 TLE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int main(void){
  int a, b;
  scanf("%d %d",&a, &b);
  while(b % 2 == 0){
    b /= 2;                                                  }
  while(b % 5 == 0){
    b /= 5;
  }
  if(b == 1){
    printf("No\n");
  }
  else{
    printf("Yes\n");
  }
  return 0;
}
0