結果

問題 No.1224 I hate Sqrt Inequality
ユーザー 2001_ishow
提出日時 2020-09-12 13:28:51
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 244 bytes
コンパイル時間 257 ms
コンパイル使用メモリ 28,672 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-31 23:03:44
合計ジャッジ時間 934 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int main(void){
  long long int a, b;
  scanf("%lld %lld",&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