https://www.acmicpc.net/problem/15828 15828번: Router 인터넷을 사용하기 위해서는 컴퓨터에 인터넷 회선을 연결하거나 Wi-Fi를 연결해야 한다. 이렇게 연결된 네트워크를 통해 컴퓨터에는 통신이 가능하다. 마음에 드는 노래나 동영상이 있는 곳에 www.acmicpc.net Python import sys input = sys.stdin.readline n = int(input()) router = [0]*n front, rear = 0, -1 length = 0 x = int(input()) while x != -1: if x == 0: front = (front+1)%n length -= 1 elif length < n: rear = (rear+1)%n router..