結果

問題 No.1905 PURE PHRASE
ユーザー googol_S0googol_S0
提出日時 2022-04-15 21:30:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 135 ms / 2,000 ms
コード長 338 bytes
コンパイル時間 269 ms
コンパイル使用メモリ 86,772 KB
実行使用メモリ 113,980 KB
最終ジャッジ日時 2023-08-26 07:33:35
合計ジャッジ時間 7,124 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 130 ms
113,504 KB
testcase_01 AC 132 ms
113,880 KB
testcase_02 AC 128 ms
113,844 KB
testcase_03 AC 132 ms
113,780 KB
testcase_04 AC 128 ms
113,980 KB
testcase_05 AC 128 ms
113,660 KB
testcase_06 AC 132 ms
113,576 KB
testcase_07 AC 129 ms
113,732 KB
testcase_08 AC 129 ms
113,732 KB
testcase_09 AC 127 ms
113,824 KB
testcase_10 AC 127 ms
113,564 KB
testcase_11 AC 127 ms
113,776 KB
testcase_12 AC 131 ms
113,860 KB
testcase_13 AC 130 ms
113,584 KB
testcase_14 AC 127 ms
113,852 KB
testcase_15 AC 126 ms
113,784 KB
testcase_16 AC 128 ms
113,576 KB
testcase_17 AC 128 ms
113,828 KB
testcase_18 AC 126 ms
113,672 KB
testcase_19 AC 127 ms
113,952 KB
testcase_20 AC 133 ms
113,536 KB
testcase_21 AC 126 ms
113,560 KB
testcase_22 AC 127 ms
113,832 KB
testcase_23 AC 125 ms
113,700 KB
testcase_24 AC 125 ms
113,808 KB
testcase_25 AC 128 ms
113,676 KB
testcase_26 AC 133 ms
113,740 KB
testcase_27 AC 129 ms
113,880 KB
testcase_28 AC 125 ms
113,704 KB
testcase_29 AC 127 ms
113,848 KB
testcase_30 AC 132 ms
113,724 KB
testcase_31 AC 126 ms
113,468 KB
testcase_32 AC 124 ms
113,724 KB
testcase_33 AC 130 ms
113,516 KB
testcase_34 AC 130 ms
113,700 KB
testcase_35 AC 130 ms
113,808 KB
testcase_36 AC 127 ms
113,724 KB
testcase_37 AC 129 ms
113,652 KB
testcase_38 AC 126 ms
113,688 KB
testcase_39 AC 128 ms
113,684 KB
testcase_40 AC 135 ms
113,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=list(map(int,input().split()))
Y=[4360,4905,2616,2943,3270,3488,3924]
X=[round(N*100/Y[i]) for i in range(7)]
B=[]
for i in range(N):
  for j in range(10):
    B.append(A[i])
ANS=[0]*7
for i in range(N*10):
  for j in range(7):
    if B[i]==B[(i+X[j])%(N*10)]:
      ANS[j]+=1
print(chr(ord('A')+ANS.index(max(ANS)))+'4')
0