結果
| 問題 |
No.870 無敵囲い
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-07-27 03:17:14 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 29 ms / 300 ms |
| コード長 | 309 bytes |
| コンパイル時間 | 104 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-16 16:31:00 |
| 合計ジャッジ時間 | 1,476 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 18 |
ソースコード
l=[["A",[2,8]],["B",[3,9]],["C",[7,9]]]
ans_l=[["A",[5,8]],["B",[4,8]],["C",[6,8]]]
n=int(input())
for i in range(n):
s=list(map(int,input().split()))
t,u=[s[0],s[1]],[s[2],s[3]]
for j in range(3):
# print(l[j][1],t)
if l[j][1]==t:l[j][1]=u
print("YES" if l==ans_l else "NO")