mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 20:34:52 -06:00
8 lines
143 B
Rust
8 lines
143 B
Rust
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];
|
|
}
|
|
}
|
|
}
|