| [ QuizWit ] in KIDS 글 쓴 이(By): Sue (지수) 날 짜 (Date): 2000년 3월 3일 금요일 오전 10시 58분 56초 제 목(Title): Re: 퍼온퀴즈 2번-- 각 변의 길이가 3,4,5 인 직각삼각형 .. 각은 Pi/2, ArcCos(4/5), ArcCos(3/5) -------- 풀이 S , a-d, a, a+d (S=6, d=1) ; S= 1/4 sqrt(3a* a * (a+2d) * (a-2d)) = 1/4 a * sqrt(3 * a^2 - 12) = 6 ; a = 4 ; ******* ** sort_int proc mov cx,(ARRAY_COUNT - 1) mov si,offset integer_array L0: push cx mov bx,0 L1: mov ax, [si + bx] add bx,2 cmp ax,[si + bx] jle L2 mSwap [si+bx-2],[si+bx] L2: loop L1 pop cx loop L0 ret sort_int endp ** |