結果

問題 No.103 素因数ゲーム リターンズ
ユーザー cielciel
提出日時 2014-12-15 00:01:59
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 117 bytes
コンパイル時間 325 ms
コンパイル使用メモリ 11,392 KB
実行使用メモリ 15,404 KB
最終ジャッジ日時 2023-09-02 14:34:03
合計ジャッジ時間 4,199 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 95 ms
15,256 KB
testcase_01 AC 95 ms
15,232 KB
testcase_02 AC 94 ms
15,404 KB
testcase_03 WA -
testcase_04 AC 92 ms
15,184 KB
testcase_05 AC 91 ms
15,380 KB
testcase_06 WA -
testcase_07 AC 95 ms
15,356 KB
testcase_08 AC 92 ms
15,304 KB
testcase_09 AC 93 ms
15,232 KB
testcase_10 AC 93 ms
15,400 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 94 ms
15,328 KB
testcase_14 AC 93 ms
15,228 KB
testcase_15 AC 93 ms
15,220 KB
testcase_16 WA -
testcase_17 AC 92 ms
15,184 KB
testcase_18 WA -
testcase_19 AC 91 ms
15,140 KB
testcase_20 WA -
testcase_21 AC 93 ms
15,180 KB
testcase_22 AC 92 ms
15,176 KB
testcase_23 AC 92 ms
15,108 KB
testcase_24 AC 91 ms
15,304 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

require'prime'
gets;a=gets.split.flat_map{|e|e.to_i.prime_division.map{|n,p|p}}
puts a.reduce(:^)>0 ? :Alice : :Bob
0