Skip to content

Commit 8d56f8e

Browse files
committed
upd
1 parent 3c30553 commit 8d56f8e

File tree

1 file changed

+1
-1
lines changed
  • copypasta/template/interactive_problem

1 file changed

+1
-1
lines changed

copypasta/template/interactive_problem/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type stdIO struct {
2121
type (
2222
initData struct{ n int }
2323
request struct{ q int }
24-
response struct{ v int }
24+
response struct{ v int } // 如果有多种不同类型的返回值,改成 string 或者 []any
2525
answer struct{ ans int }
2626
)
2727

0 commit comments

Comments
 (0)