結果
| 問題 | No.870 無敵囲い |
| コンテスト | |
| ユーザー |
hase_0o0
|
| 提出日時 | 2019-10-26 00:49:54 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 25 ms / 300 ms |
| コード長 | 302 bytes |
| 記録 | |
| コンパイル時間 | 360 ms |
| コンパイル使用メモリ | 85,244 KB |
| 実行使用メモリ | 53,756 KB |
| 最終ジャッジ日時 | 2026-03-18 16:32:36 |
| 合計ジャッジ時間 | 1,346 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_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