mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
14 lines
260 B
Java
14 lines
260 B
Java
// "Replace with count()" "true"
|
|
|
|
public class Main {
|
|
public int testPrimitiveArray(int[] data) {
|
|
int count = 0;
|
|
for(int val : dat<caret>a) {
|
|
long square = val*val;
|
|
if(square > 100) {
|
|
count++;
|
|
}
|
|
}
|
|
return count;
|
|
}
|
|
} |