結果

問題 No.726 Tree Game
ユーザー letrangerjpletrangerjp
提出日時 2018-08-24 21:47:31
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 115 bytes
コンパイル時間 242 ms
コンパイル使用メモリ 11,556 KB
実行使用メモリ 15,664 KB
最終ジャッジ日時 2023-09-05 11:23:36
合計ジャッジ時間 3,654 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 94 ms
15,300 KB
testcase_01 AC 101 ms
15,440 KB
testcase_02 AC 94 ms
15,560 KB
testcase_03 AC 95 ms
15,372 KB
testcase_04 AC 95 ms
15,492 KB
testcase_05 AC 98 ms
15,396 KB
testcase_06 AC 96 ms
15,664 KB
testcase_07 AC 95 ms
15,396 KB
testcase_08 AC 94 ms
15,288 KB
testcase_09 WA -
testcase_10 AC 98 ms
15,452 KB
testcase_11 AC 96 ms
15,484 KB
testcase_12 AC 95 ms
15,268 KB
testcase_13 AC 95 ms
15,332 KB
testcase_14 AC 93 ms
15,424 KB
testcase_15 AC 95 ms
15,464 KB
testcase_16 AC 95 ms
15,624 KB
testcase_17 AC 95 ms
15,440 KB
testcase_18 AC 95 ms
15,552 KB
testcase_19 AC 95 ms
15,440 KB
testcase_20 AC 94 ms
15,256 KB
testcase_21 AC 95 ms
15,524 KB
testcase_22 AC 95 ms
15,472 KB
testcase_23 AC 95 ms
15,448 KB
testcase_24 AC 97 ms
15,412 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#!ruby -parprime
$_=$F.map!(&:to_i).all?(&:prime?)||$F.map{|n|(n+1..9e99).find(&:prime?)-n}.sum&1<1?:Second: :First
0