by@kcz146
WA
923ms
t=l=fgetl(0); [i]=strchr(l,"T") do disp(l);until [t]=strchr(fgets(0),"K") disp([repmat([' '],1,t),repmat(['*'],1,i-t)])
T K
i = 17 T T T T ************
octave: X11 DISPLAY environment variable not set octave: disabling GUI features warning: suggest parenthesis around assignment used as truth value near line 3, column 21 in file '/volume/CODE'