글
코딩기법 ( C )
N/Note
2011. 10. 28. 12:51
if (!X[i-1].u)
for
(j=a+1;j<=b;j++){
if
(C[j] == 0) S += Y[j].x - Y[j-1].x;
C[j]++;
}
else
for
(j=a+1;j<=b;j++){
C[j]--;
if
(C[j] == 0) S += Y[j].x - Y[j-1].x;
}