結果

問題 No.715 集合と二人ゲーム
ユーザー convexineqconvexineq
提出日時 2021-03-14 16:55:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 223 ms / 2,000 ms
コード長 371 bytes
コンパイル時間 434 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 177,872 KB
最終ジャッジ日時 2024-04-24 00:11:10
合計ジャッジ時間 8,181 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 46 ms
53,888 KB
testcase_01 AC 47 ms
61,184 KB
testcase_02 AC 50 ms
61,696 KB
testcase_03 AC 49 ms
62,848 KB
testcase_04 AC 50 ms
63,360 KB
testcase_05 AC 49 ms
64,768 KB
testcase_06 AC 53 ms
65,664 KB
testcase_07 AC 52 ms
66,560 KB
testcase_08 AC 54 ms
67,200 KB
testcase_09 AC 55 ms
67,712 KB
testcase_10 AC 56 ms
68,224 KB
testcase_11 AC 55 ms
69,632 KB
testcase_12 AC 59 ms
69,888 KB
testcase_13 AC 58 ms
70,912 KB
testcase_14 AC 58 ms
71,936 KB
testcase_15 AC 62 ms
72,192 KB
testcase_16 AC 59 ms
73,728 KB
testcase_17 AC 59 ms
73,344 KB
testcase_18 AC 61 ms
75,520 KB
testcase_19 AC 63 ms
75,520 KB
testcase_20 AC 66 ms
77,696 KB
testcase_21 AC 64 ms
77,568 KB
testcase_22 AC 67 ms
79,232 KB
testcase_23 AC 66 ms
79,360 KB
testcase_24 AC 65 ms
80,384 KB
testcase_25 AC 67 ms
79,872 KB
testcase_26 AC 70 ms
79,872 KB
testcase_27 AC 72 ms
82,816 KB
testcase_28 AC 75 ms
84,480 KB
testcase_29 AC 74 ms
84,608 KB
testcase_30 AC 73 ms
82,560 KB
testcase_31 AC 71 ms
79,744 KB
testcase_32 AC 69 ms
77,824 KB
testcase_33 AC 71 ms
82,304 KB
testcase_34 AC 67 ms
78,208 KB
testcase_35 AC 41 ms
53,376 KB
testcase_36 AC 41 ms
53,120 KB
testcase_37 AC 39 ms
53,120 KB
testcase_38 AC 41 ms
53,504 KB
testcase_39 AC 41 ms
53,632 KB
testcase_40 AC 44 ms
59,264 KB
testcase_41 AC 43 ms
59,648 KB
testcase_42 AC 45 ms
59,392 KB
testcase_43 AC 44 ms
59,264 KB
testcase_44 AC 48 ms
59,136 KB
testcase_45 AC 50 ms
59,136 KB
testcase_46 AC 51 ms
59,392 KB
testcase_47 AC 46 ms
58,880 KB
testcase_48 AC 45 ms
59,520 KB
testcase_49 AC 44 ms
59,136 KB
testcase_50 AC 206 ms
177,524 KB
testcase_51 AC 212 ms
177,572 KB
testcase_52 AC 208 ms
177,176 KB
testcase_53 AC 209 ms
176,316 KB
testcase_54 AC 223 ms
177,412 KB
testcase_55 AC 216 ms
177,872 KB
testcase_56 AC 201 ms
166,168 KB
testcase_57 AC 188 ms
161,252 KB
testcase_58 AC 216 ms
176,720 KB
testcase_59 AC 212 ms
177,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

*g, = map(int,"0112031103322405223301130211045274011203110332244552330113021104537481120311033224455933011302110453748112031103322")
n = int(input())
*a, = map(int,input().split())
a.sort()
for i in range(n): a[i] -= i
from collections import Counter
res = 0
for x in Counter(a).values():
    res ^= g[x] if x < 81 else g[81+(x-81)%34]
print("First" if res else "Second")
0