62,634
社区成员




void foo(int a, int b, int c) {
int k = b;
if (a != 0) {
k++;
}
while (k < c) {
k++;
}
}
int foo(int a,int b,int c){
int k = b;
for(k=(a!=0?k+1:k); k<c; k++){
}
return k;
}
void foo(int a,int b,int c){
for (int k=(a!=0?b+1:b); k<c; k++){
}
}
public static void foo1(int a,int b,int c){
for ( int k = b; k < c; k = (a!=0?(k+1):k)){
}
}
int foo2(int k) {
//do something
}
int foo(int a, int b, int c) {
int k = b;
if (a!=0)
foo2(k++);
while (k<c) foo2(k++);
return k;
}