結果
| 問題 |
No.1109 調の判定
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-10 01:06:29 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 219 bytes |
| コンパイル時間 | 100 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-09-19 07:31:16 |
| 合計ジャッジ時間 | 2,744 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 37 WA * 6 |
ソースコード
D=[[d,(d+2)%12,(d+4)%12,(d+5)%12,(d+7)%12,(d+11)%12] for d in range(12)] n=int(input()) l=list(map(int,input().split())) a=-1 for x in D: if sum([i in x for i in l])==n: if a==-1: a=x[0] else: a=-1; break print(a)