identificationdivision. program-id. dahl-p124. * aus O-J Dahl - Verifiable Programming author. Jens. date-written. 5.1.2009. date-compiled. datadivision. working-storagesection. 77 i pic9(4). 77 j pic9(4). linkagesection. 77 m pic9(4). 77 n pic9(4). 77 r pic9(4). 77 f pic9(4). 77 a pic9(4) occurs100. proceduredivisionusing m n returning r. performwithtestafteruntil i > j performwithtestafteruntil a(i)>r add1to i end-perform performwithtestafteruntil r>=a(j) subtract1from j end-perform if i<=j then move a(j) to a(i) add1to i subtract1from j end-if end-perform if i<=f then move i to m else if f<=j thenmove j to n elsestoprunend-if end-if end-program dahl-p124.
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.