結果

問題 No.870 無敵囲い
ユーザー mlihua09mlihua09
提出日時 2020-09-03 12:36:26
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 300 ms
コード長 249 bytes
コンパイル時間 269 ms
コンパイル使用メモリ 87,044 KB
実行使用メモリ 71,424 KB
最終ジャッジ日時 2023-09-11 16:36:07
合計ジャッジ時間 2,677 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,208 KB
testcase_01 AC 69 ms
71,204 KB
testcase_02 AC 68 ms
71,236 KB
testcase_03 AC 68 ms
71,424 KB
testcase_04 AC 72 ms
71,216 KB
testcase_05 AC 69 ms
71,200 KB
testcase_06 AC 68 ms
71,320 KB
testcase_07 AC 68 ms
71,280 KB
testcase_08 AC 69 ms
71,168 KB
testcase_09 AC 66 ms
71,204 KB
testcase_10 AC 69 ms
71,380 KB
testcase_11 AC 68 ms
71,332 KB
testcase_12 AC 69 ms
71,160 KB
testcase_13 AC 68 ms
71,192 KB
testcase_14 AC 67 ms
71,424 KB
testcase_15 AC 68 ms
71,332 KB
testcase_16 AC 67 ms
71,152 KB
testcase_17 AC 68 ms
71,244 KB
testcase_18 AC 69 ms
71,388 KB
testcase_19 AC 69 ms
71,228 KB
testcase_20 AC 68 ms
71,200 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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')
0