結果
問題 |
No.1224 I hate Sqrt Inequality
|
ユーザー |
![]() |
提出日時 | 2020-09-12 13:32:36 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 243 bytes |
コンパイル時間 | 1,591 ms |
コンパイル使用メモリ | 25,088 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-01-01 17:23:39 |
合計ジャッジ時間 | 2,596 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 10 WA * 3 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:4:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4 | scanf("%lld %lld",&a, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~
ソースコード
#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("Yes\n"); } else{ printf("No\n"); } return 0; }