Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
13032aff606de2a873f51c491d3d51c9da4df6e1
/
.
/
examples
/
rust
/
Max_array.rs
blob: 233601d26edbe9936090b09356b57f4847ed193b [
file
] [
log
] [
blame
] [
raw
]
pub
fn
max_array
(
x
:
&
mut
[
f64
;
65536
],
y
:
&[
f64
;
65536
])
{
for
i in
0.
.
65536
{
x
[
i
]
=
if
y
[
i
]
>
x
[
i
]
{
y
[
i
]
}
else
{
x
[
i
]
};
}
}