Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
cde46834483ed30452fbb801666a29162f78a8ee
/
.
/
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
]
};
}
}