Skip to content

Commit 1423ec8

Browse files
committed
fix(hiddenp): solution not complient to subject
1 parent 8d3f4f7 commit 1423ec8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

solutions/hiddenp/main.go

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import (
88

99
func main() {
1010
var i int
11+
if len(os.Args) != 3 {
12+
return
13+
}
1114
for _, r := range os.Args[1] {
1215
j := strings.Index(os.Args[2][i:], string(r))
1316
if j == -1 {

0 commit comments

Comments
 (0)