Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
RepeatedLetters
//fpc 3.0.0 program RepeatedLetters; var input : string; i: integer; count : integer=1; begin write('Input: '); readln(input); for i := 1 to length(input) do if input[i]=input[i+1] then count:=count+1 else begin write(input[i],'=',count,' '); count:=1; end; readln; end.
run
|
edit
|
history
|
help
0
test23
Tinh tong
Lunohod-1
AKPOTU
task 2
Tri 1.0
Find Nash Equilibrium
practica 1 ejercicio 3
test27
practica 2 ejercicio 9