結果
| 問題 | No.870 無敵囲い |
| コンテスト | |
| ユーザー |
hase_0o0
|
| 提出日時 | 2019-10-26 00:49:54 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 67 ms / 300 ms |
| + 311µs | |
| コード長 | 302 bytes |
| 記録 | |
| コンパイル時間 | 239 ms |
| コンパイル使用メモリ | 95,720 KB |
| 実行使用メモリ | 78,592 KB |
| 最終ジャッジ日時 | 2026-08-01 14:18:38 |
| 合計ジャッジ時間 | 3,042 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 18 |
ソースコード
n=int(input())
xy=[[2,8],[3,9],[7,9]]
for _ in range(n):
x1,y1,x2,y2=map(int,input().split())
for i in range(3):
if xy[i][0]==x1 and xy[i][1]==y1:
xy[i][0]=x2
xy[i][1]=y2
if xy[0]==[5,8] and xy[1]==[4,8] and xy[2]==[6,8]:
print("YES")
else:
print("NO")
hase_0o0