Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

help me for calculate the number of operation ,for ex( i:=i+1)operation.

조회 수: 1 (최근 30일)
ime sem
ime sem 2014년 1월 4일
마감: Walter Roberson 2014년 1월 4일
L'algorithme:
fonction pgd (n:entier)
var i:entier
debut i:=2
tanque(i<=n/2 et(n mod i)!0 faire
i:=i+1
fintantque
si(n mod i)=0alors pgd:=n div i
sinon pgd:=n
fin si
fin

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by