Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
1a124be93283524e09f7ef49196af6ee9bd451f8
/
.
/
examples
/
rust
/
max_array.rs
blob: 8825273f6e8d107055b26a93508d439b75e9a00b [
file
] [
log
] [
blame
] [
raw
]
pub
fn
max_array
(
x
:
&
mut
[
i32
;
65536
],
y
:
&[
i32
;
65536
])
{
for
i in
(
0.
.
65536
)
{
if
y
[
i
]
>
x
[
i
]
{
x
[
i
]
=
y
[
i
];
}
}
}