Untitled

Anonymous
golang
12/04/2024 3:09 PM
180 B
15
Indexable
const N = 1000

func searchGanjil(T [N]int) bool {
	for i := 0; i < N; i++ {
		if T[i]%2 != 0 {
			return true
		}
	}
	return false
}
Editor is loading...
Leave a Comment