結果
| 問題 | 
                            No.1905 PURE PHRASE
                             | 
                    
| コンテスト | |
| ユーザー | 
                             googol_S0
                         | 
                    
| 提出日時 | 2022-04-15 21:29:41 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 349 bytes | 
| コンパイル時間 | 1,064 ms | 
| コンパイル使用メモリ | 82,048 KB | 
| 実行使用メモリ | 112,896 KB | 
| 最終ジャッジ日時 | 2024-12-25 00:00:06 | 
| 合計ジャッジ時間 | 6,312 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 3 | 
| other | WA * 38 | 
ソースコード
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(ANS)
print(chr(ord('A')+ANS.index(max(ANS)))+'4')
            
            
            
        
            
googol_S0