結果
| 問題 | No.2 素因数ゲーム |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2014-11-28 14:53:40 |
| 言語 | Ruby (4.0.2) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 91 bytes |
| 記録 | |
| コンパイル時間 | 367 ms |
| コンパイル使用メモリ | 9,088 KB |
| 実行使用メモリ | 22,400 KB |
| 最終ジャッジ日時 | 2026-06-06 14:30:03 |
| 合計ジャッジ時間 | 5,941 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 31 |
コンパイルメッセージ
Main.rb:1: warning: shebang line ending with \r may cause problems Syntax OK
ソースコード
#!/usr/bin/ruby -rprime
puts self.prime_division.reduce(0){|s,(n,p)|s^p}>0 ? :Alice : :Bob