結果

問題 No.36 素数が嫌い!
ユーザー tamakoron
提出日時 2016-11-23 21:57:41
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 133 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 31,104 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-27 10:22:51
合計ジャッジ時間 1,671 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 14 WA * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int c,i;long long n;int main(){for(i=scanf("%ld",&n);i<n/i++;)n%i?:(c++,n/=i--);printf(2<c+!(n^1)?"YES\n":"NO\n");}
0