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