結果
問題 | No.870 無敵囲い |
ユーザー |
![]() |
提出日時 | 2019-08-30 21:43:29 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 300 ms |
コード長 | 360 bytes |
コンパイル時間 | 205 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-29 06:16:49 |
合計ジャッジ時間 | 1,506 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 18 |
ソースコード
N = int(input())# initA, B, C = (2,8), (3,9), (7,9)for _ in range(N):x, y, xt, yt = map(int, input().split())if (x, y) == A:A = (xt, yt)elif (x, y) == B:B = (xt, yt)elif (x, y) == C:C = (xt, yt)# targetAt, Bt, Ct = (5,8), (4,8), (6,8)if (A, B, C) == (At, Bt, Ct):print("YES")else:print("NO")