---
title: "Discussion on \"[코테] Bfs 토마토\" | Hashnode"
description: "Discussion on \"[코테] Bfs 토마토\". 💡\n첫 시도 시간초과!\n\n\n\nhttps://www.acmicpc.net/problem/7576\n시간초과 코드\nfrom collections import deque\nimport sys\ninput = sys.stdin.readline\n\ndef bfs(x, y, visited):\n    dx = [-1, 1, 0, 0]\n    dy = [0, 0, -1, 1]\n\n    while queue:\n        x, y = queue.popleft()\n..."
url: "https://hashnode.com/posts/bfs/65ddc4bc94b5fdf6f150a421"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[코테\] Bfs 토마토](https://siwonlog.hashnode.dev/bfs?utm_source=hashnode&utm_medium=feed)

💡 첫 시도 시간초과! https://www.acmicpc.net/problem/7576 시간초과 코드 from collections import deque import sys input = sys.stdin.readline def bfs(x, y, visited): dx = \[-1, 1, 0, 0\] dy = \[0, 0, -1, 1\] while queue: x, y = queue.popleft() ...

Feb 27, 2024 · 3 min read · siwonlog.hashnode.dev  
Read the article

## Written by

[Siwon Kim](https://hashnode.com/@siwon)

@siwon · Seoul, South Korea

  
[View profile](https://hashnode.com/@siwon)

Software Engineer

## Responses 1

Markdown supported · ⌘↵ to post

[doxxx](https://hashnode.com/@doxxx)

[Mar 9, 2024](https://hashnode.com/posts/bfs/65ddc4bc94b5fdf6f150a421/comment/65ec2729f28de5cbf787770c)

도메인을 따로 하신건가요? 이쁘네요
