結果
| 問題 |
No.3235 巡回減算
|
| コンテスト | |
| ユーザー |
detteiuu
|
| 提出日時 | 2025-08-15 21:55:40 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 2,384 ms / 10,000 ms |
| コード長 | 326 bytes |
| コンパイル時間 | 230 ms |
| コンパイル使用メモリ | 82,672 KB |
| 実行使用メモリ | 76,392 KB |
| 最終ジャッジ日時 | 2025-08-15 21:58:16 |
| 合計ジャッジ時間 | 43,156 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge6 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
ソースコード
A = [list(map(int, list(input()))) for _ in range(8)]
def BIT(bit, n):
return bit//8**n%8
for bit in range(8**7):
B = A[0][:]
for i in range(7):
n = BIT(bit, i)
for j in range(8):
B[j] -= A[i+1][(j+n)%8]
if B.count(0) == 8:
print("Yes")
break
else:
print("No")
detteiuu