Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  chaff.cob   Sprache: Cobol

 

       identification division.
       program-id. chaff.
       author. "David Gries".
      * aus "Eliminating the Chaff"
      * Marktoberndorff 1996
       date-written. 25.10.2004.
       date-compiled.
       data division.
       working-storage section.
        77 i  pic 99.
        77 j  pic 99.
        77 e  pic 99.
        77 n  pic 99.
       linkage section.
        01 a occurs 9.
          02 b occurs 9 pic 99.
        77 x  pic 99.
       procedure division using a x.
         move length of a to n
         move -1 to i
         move n to j
         perform until i+1 not = j
           compute e=function mod(i+j,2)
           if b(e)<=x move i to e
           else       move j to e
         end-perform
      *  now ??
      *  interval inclusion for minimum??
        end-program chaff.

Messung
CHZG
9110010096

¤ Dauer der Verarbeitung: 0.2 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,835
#Domains=906,746