結果

問題 No.726 Tree Game
ユーザー letrangerjpletrangerjp
提出日時 2018-08-24 21:39:15
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 92 bytes
コンパイル時間 304 ms
コンパイル使用メモリ 11,220 KB
実行使用メモリ 15,572 KB
最終ジャッジ日時 2023-09-05 11:13:34
合計ジャッジ時間 3,940 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 94 ms
15,488 KB
testcase_01 AC 95 ms
15,284 KB
testcase_02 AC 92 ms
15,364 KB
testcase_03 AC 97 ms
15,276 KB
testcase_04 AC 94 ms
15,420 KB
testcase_05 AC 92 ms
15,416 KB
testcase_06 AC 93 ms
15,400 KB
testcase_07 WA -
testcase_08 AC 92 ms
15,484 KB
testcase_09 WA -
testcase_10 AC 91 ms
15,316 KB
testcase_11 AC 93 ms
15,288 KB
testcase_12 AC 95 ms
15,320 KB
testcase_13 AC 94 ms
15,540 KB
testcase_14 AC 94 ms
15,180 KB
testcase_15 AC 93 ms
15,412 KB
testcase_16 AC 92 ms
15,412 KB
testcase_17 AC 93 ms
15,324 KB
testcase_18 AC 91 ms
15,572 KB
testcase_19 AC 91 ms
15,284 KB
testcase_20 AC 91 ms
15,292 KB
testcase_21 AC 91 ms
15,272 KB
testcase_22 AC 93 ms
15,316 KB
testcase_23 AC 93 ms
15,400 KB
testcase_24 AC 93 ms
15,500 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#!ruby -parprime
$_=%w[Second First][$F.map{|s|a=s.to_i
(a+1..9e99).find(&:prime?)-a}.sum&1]
0