Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
43a2173b384636c3cd9e565c258bab0f20c7f55c
/
.
/
examples
/
rust
/
max_array.rs
blob: 990e8bd79b1966c10e9db0fdcc571b8a1825b542 [
file
] [
log
] [
blame
] [
raw
]
pub
fn
maxArray
(
x
:
&
mut
[
int
,
..
65536
],
y
:
&[
int
,
..
65536
])
{
for
i in range
(
0u
,
65536
)
{
if
y
[
i
]
>
x
[
i
]
{
x
[
i
]
=
y
[
i
];
}
}
}