Skip to content

Commit

Permalink
fix(hiddenp): solution not complient to subject
Browse files Browse the repository at this point in the history
  • Loading branch information
MSilva95 committed Dec 10, 2024
1 parent 8d3f4f7 commit 8c6a7ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions solutions/hiddenp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import (

func main() {
var i int
if len(os.Args) != 3 {
return
}
for _, r := range os.Args[1] {
j := strings.Index(os.Args[2][i:], string(r))
if j == -1 {
Expand Down

0 comments on commit 8c6a7ef

Please sign in to comment.