mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
12 lines
125 B
Go
12 lines
125 B
Go
package main
|
|
|
|
func MaxArray(x, y []float64) {
|
|
for i, c := range x {
|
|
if y[i] > c {
|
|
x[i] = y[i]
|
|
}
|
|
}
|
|
}
|
|
|
|
func main() {}
|