mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-31 17:53:45 +07:00
13 lines
226 B
Java
13 lines
226 B
Java
// "Replace with reduce()" "true"
|
|
|
|
import java.util.*;
|
|
|
|
public class Main {
|
|
public void testBitwiseOr() {
|
|
int[] arr = new int[]{1, 2, 3, 4};
|
|
int acc = 12443;
|
|
for <caret> (int i: arr) {
|
|
acc |= i;
|
|
}
|
|
}
|
|
} |