結果
問題 | No.870 無敵囲い |
ユーザー |
|
提出日時 | 2020-09-03 12:36:26 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 300 ms |
コード長 | 249 bytes |
コンパイル時間 | 132 ms |
コンパイル使用メモリ | 82,168 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-06-29 06:44:04 |
合計ジャッジ時間 | 1,601 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 18 |
ソースコード
X = [[2, 8], [3, 9], [7, 9]]N = int(input())for i in range(N):x1, y1, x2, y2 = map(int, input().split())if [x1, y1] in X:X[X.index([x1, y1])] = [x2, y2]if X == [[5, 8], [4, 8], [6, 8]]:print('YES')else:print('NO')