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