結果

問題 No.715 集合と二人ゲーム
ユーザー 👑 hos.lyrichos.lyric
提出日時 2019-01-27 20:55:59
言語 Ruby
(3.3.0)
結果
AC  
実行時間 332 ms / 2,000 ms
コード長 209 bytes
コンパイル時間 237 ms
コンパイル使用メモリ 11,996 KB
実行使用メモリ 58,752 KB
最終ジャッジ日時 2023-10-25 10:38:28
合計ジャッジ時間 11,024 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
16,220 KB
testcase_01 AC 74 ms
16,244 KB
testcase_02 AC 78 ms
16,480 KB
testcase_03 AC 75 ms
16,480 KB
testcase_04 AC 81 ms
16,880 KB
testcase_05 AC 80 ms
17,152 KB
testcase_06 AC 81 ms
17,340 KB
testcase_07 AC 79 ms
17,692 KB
testcase_08 AC 84 ms
17,868 KB
testcase_09 AC 88 ms
18,260 KB
testcase_10 AC 89 ms
18,344 KB
testcase_11 AC 86 ms
18,708 KB
testcase_12 AC 87 ms
18,732 KB
testcase_13 AC 88 ms
19,272 KB
testcase_14 AC 92 ms
19,544 KB
testcase_15 AC 97 ms
19,624 KB
testcase_16 AC 93 ms
19,960 KB
testcase_17 AC 92 ms
19,856 KB
testcase_18 AC 97 ms
20,352 KB
testcase_19 AC 97 ms
20,352 KB
testcase_20 AC 100 ms
20,820 KB
testcase_21 AC 98 ms
21,040 KB
testcase_22 AC 101 ms
21,272 KB
testcase_23 AC 102 ms
21,172 KB
testcase_24 AC 104 ms
21,884 KB
testcase_25 AC 105 ms
21,880 KB
testcase_26 AC 105 ms
21,952 KB
testcase_27 AC 110 ms
22,576 KB
testcase_28 AC 105 ms
22,792 KB
testcase_29 AC 111 ms
22,880 KB
testcase_30 AC 110 ms
22,076 KB
testcase_31 AC 105 ms
21,384 KB
testcase_32 AC 104 ms
20,768 KB
testcase_33 AC 109 ms
21,944 KB
testcase_34 AC 106 ms
20,936 KB
testcase_35 AC 72 ms
16,220 KB
testcase_36 AC 72 ms
16,220 KB
testcase_37 AC 72 ms
16,220 KB
testcase_38 AC 70 ms
16,220 KB
testcase_39 AC 75 ms
16,220 KB
testcase_40 AC 78 ms
16,220 KB
testcase_41 AC 77 ms
16,220 KB
testcase_42 AC 76 ms
16,220 KB
testcase_43 AC 79 ms
16,220 KB
testcase_44 AC 80 ms
16,220 KB
testcase_45 AC 73 ms
16,216 KB
testcase_46 AC 72 ms
16,220 KB
testcase_47 AC 77 ms
16,216 KB
testcase_48 AC 74 ms
16,220 KB
testcase_49 AC 75 ms
16,220 KB
testcase_50 AC 332 ms
58,752 KB
testcase_51 AC 320 ms
58,728 KB
testcase_52 AC 320 ms
58,616 KB
testcase_53 AC 320 ms
58,420 KB
testcase_54 AC 326 ms
58,572 KB
testcase_55 AC 323 ms
58,476 KB
testcase_56 AC 314 ms
56,308 KB
testcase_57 AC 262 ms
51,416 KB
testcase_58 AC 327 ms
58,648 KB
testcase_59 AC 328 ms
58,736 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
f=->(k){k==14||k==34?0:k==16||k==17||k==31||k==51?2:0xe9792a3f6217ba8180b0be4f6ee6/10**(k%34)%10}
z=k=1;a=-1;gets.split.map(&:to_i).sort.each{|b|b-a>1?(z^=f[k];k=1):k+=1;a=b}
puts z^f[k]>0?:First: :Second
0