mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 00:31:22 -06:00
8 lines
144 B
Rust
8 lines
144 B
Rust
pub fn max_array(x: &mut[int, ..65536], y: &[int, ..65536]) {
|
|
for i in range(0u, 65536) {
|
|
if y[i] > x[i] {
|
|
x[i] = y[i];
|
|
}
|
|
}
|
|
}
|