結果

問題 No.36 素数が嫌い!
ユーザー ciel
提出日時 2014-11-16 19:37:41
言語 Ruby
(3.4.1)
結果
RE  
実行時間 -
コード長 101 bytes
コンパイル時間 100 ms
コンパイル使用メモリ 7,680 KB
実行使用メモリ 12,928 KB
最終ジャッジ日時 2024-12-31 21:02:03
合計ジャッジ時間 8,115 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 RE * 1
other AC * 26
権限があれば一括ダウンロードができます
コンパイルメッセージ
ruby: warning: shebang line ending with \r may cause problems
Syntax OK

ソースコード

diff #

#!/usr/bin/ruby
require 'prime'
puts gets.to_i.prime_division.map(&:last).reduce(:+)>2 ? :YES : :NO
0