• Aucun résultat trouvé

Suite Thue-Morse en Pascal

N/A
N/A
Protected

Academic year: 2022

Partager "Suite Thue-Morse en Pascal"

Copied!
2
0
0

Texte intégral

(1)

Professeur Mr Kamel Bel Asri var ch: string;N:byte;j,i,l:integer;c1:char;

begin repeat

write ('Donner un entier superieur à 1 :');

readln(N);

until( N>0);

repeat

write(' saisir 0 ou 1 :');

readln(c1);

until (c1 in ['0' ,'1']);

ch:=ch+c1;

for i:=1 to N do begin

j:=1;

l:=length(ch);

repeat

if (ch[j]='0') then begin

delete(ch,j,1);

insert('01',ch,j);

end else begin

delete(ch,j,1);

insert('10',ch,j);

end;

Suite Thue-Morse en Pascal

Program thue_morse;

uses wincrt;

(2)

Professeur Mr Kamel Bel Asri j:=j+2;

until(length(ch)=2*l);

end;

write (ch);

end.

Références

Documents relatifs

Second, the proposed methodology is applied to assess the performances of a contrast restoration method of daytime fog images grabbed using in-vehicle cameras.. It depends among

The difference in fatigue resulting from the contraction mode increased throughout the exercise: a third series/first series CONC work ratio showed values of 0.72 and

agalactiae : distribution des sérotypes des souches responsables d’infections chez les nouveau-nés et chez les adultes pour l’année 2000.. Sérotypes Nouveau-nés Adultes et

Levels of unconjugated BPA, BPA-G and BPA-S in maternal (red line) and fetal (blue) serum and amniotic fluid (black) at 100 (top panel, N = 2) and 150 days gestation (bottom panel, N

Shuo Li was working on infinite products related to φ-Thue-Morse sequence, which is another generalization of the classical Thue-Morse sequence, and in particular for the classical

Cependant, comme expliqué dans le chapitre « Formes de social engineering », nous pouvons utiliser le canal de distribution du phishing, à savoir, l’email afin de faire du baiting,

The geometry consists of a single protuberant metallic electrode embedded in an insulating substrate and surrounded by a liquid environment with a conductivity which

la fonction d’onde totale Ψ(r, R) solution de l’équation de Schrödinger dans l’approximation de Born et Oppenheimer, peut donc s’écrire sous la forme