DescriptionCodepackage mainimport ( "bufio" "fmt" "os")var ( sc = bufio.NewReader(os.Stdin) wr = bufio.NewWriter(os.Stdout))var Stack []int func push(x int) { Stack = append(Stack, x)}func pop() int { if len(Stack) == 0 { return -1 } x := Stack[len(Stack)-1] Stack = Stack[:len(Stack)-1] return x}func main() { defer wr.Flush() var T int fmt.Fscan(sc, &T) for i := 0; i 문자열을 입력받고 해당 문자열을 순회문자열 중 ..