結果
問題 |
No.3225 2×2行列相似判定 〜easy〜
|
ユーザー |
👑 |
提出日時 | 2025-08-09 12:47:50 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 873 ms / 2,000 ms |
コード長 | 251 bytes |
コンパイル時間 | 378 ms |
コンパイル使用メモリ | 82,064 KB |
実行使用メモリ | 76,044 KB |
最終ジャッジ日時 | 2025-08-09 12:48:09 |
合計ジャッジ時間 | 15,574 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 33 |
ソースコード
J=lambda:map(int,input().split()) a,b=J() c,d=J() e,f=J() g,h=J() B=67 L=range(B) print("YNeos"[all((p*s-q*r)%B<1 or(p*a+q*c-e*p-f*r)%B or(p*b+q*d-e*q-f*s)%B or(r*a+s*c-g*p-h*r)%B or(r*b+s*d-g*q-h*s)%B for s in L for r in L for q in L for p in L)::2])