結果
| 問題 |
No.1109 調の判定
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-07-10 21:43:13 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 240 bytes |
| コンパイル時間 | 157 ms |
| コンパイル使用メモリ | 81,900 KB |
| 実行使用メモリ | 54,124 KB |
| 最終ジャッジ日時 | 2024-10-11 08:37:30 |
| 合計ジャッジ時間 | 3,178 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 28 WA * 15 |
ソースコード
N = int(input())
t = list(map(int, input().split()))
for d in range(12):
# flag = False
if all(sound in [d, (d+2) % 12, (d+4)%12, (d+5)%12, (d+7)%12, (d+9)%12, (d+11)%12] for sound in t):
print(d)
exit()
print(-1)