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