Result

WA

Code [DL]

while read -s -n 1 C;do $((++a[C]));done;for i in ${a[@]};do for((j=$i;j>0;j--));do o+=$i;done;done;echo $o

stdin

9569950481271272501082343398710795274928709574114722907718903825002401501632734822284653973580529660

stdout

13131313131313131313131313999999999151515151515151515151515151515888888888888888810101010101010101010555551212121212121212121212129999999991111111111111111111111

stderr

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/code.bash: line 1: 1: command not found
/code.bash: line 1: 1: command not found
/code.bash: line 1: 1: command not found
/code.bash: line 1: 2: command not found
/code.bash: line 1: 3: command not found
/code.bash: line 1: 2: command not found
/code.bash: line 1: 1: command not found
/code.bash: line 1: 1: command not found
/code.bash: line 1: 1: command not found
/code.bash: line 1: 1: command not found
/code.bash: line 1: 1: command not found
/code.bash: line 1: 1: command not found
/code.bash: line 1: 2: command not found
/code.bash: line 1: 2: command not found
/code.bash: line 1: 2: command not found
/code.bash: line 1: 3: command not found
/code.bash: line 1: 3: command not found
/code.bash: line 1: 2: command not found
/code.bash: line 1: 3: command not found
/code.bash: line 1: 3: command not found
/code.bash: line 1: 2: command not found
/code.bash: line 1: 4: command not found
/code.bash: line 1: 1: command not found
/code.bash: line 1: 2: command not found
/code.bash: line 1: 2: command not found
/code.bash: line 1: 3: command not found
/code.bash: line 1: 4: command not found
/code.bash: line 1: 3: command not found
/code.bash: line 1: 3: command not found
/code.bash: line 1: 4: command not found
/code.bash: line 1: 4: command not found
/code.bash: line 1: 4: command not found
/code.bash: line 1: 5: command not found
/code.bash: line 1: 4: command not found
/code.bash: line 1: 5: command not found
/code.bash: line 1: 5: command not found
/code.bash: line 1: 3: command not found
/code.bash: line 1: 6: command not found
/code.bash: line 1: 6: command not found
/code.bash: line 1: 4: command not found
/code.bash: line 1: 6: command not found
/code.bash: line 1: 5: command not found
/code.bash: line 1: 7: command not found
/code.bash: line 1: 5: command not found
/code.bash: line 1: 7: command not found
/code.bash: line 1: 4: command not found
/code.bash: line 1: 5: command not found
/code.bash: line 1: 6: command not found
/code.bash: line 1: 5: command not found
/code.bash: line 1: 8: command not found
/code.bash: line 1: 7: command not found
/code.bash: line 1: 8: command not found
/code.bash: line 1: 8: command not found
/code.bash: line 1: 6: command not found
/code.bash: line 1: 9: command not found
/code.bash: line 1: 10: command not found
/code.bash: line 1: 7: command not found
/code.bash: line 1: 5: command not found
/code.bash: line 1: 9: command not found
/code.bash: line 1: 7: command not found
/code.bash: line 1: 4: command not found
/code.bash: line 1: 6: command not found
/code.bash: line 1: 9: command not found
/code.bash: line 1: 6: command not found
/code.bash: line 1: 8: command not found
/code.bash: line 1: 9: command not found
/code.bash: line 1: 10: command not found
/code.bash: line 1: 6: command not found
/code.bash: line 1: 10: command not found
/code.bash: line 1: 8: command not found
/code.bash: line 1: 7: command not found
/code.bash: line 1: 11: command not found
/code.bash: line 1: 9: command not found
/code.bash: line 1: 2: command not found
/code.bash: line 1: 5: command not found
/code.bash: line 1: 11: command not found
/code.bash: line 1: 11: command not found
/code.bash: line 1: 6: command not found
/code.bash: line 1: 7: command not found
/code.bash: line 1: 7: command not found
/code.bash: line 1: 12: command not found
/code.bash: line 1: 13: command not found
/code.bash: line 1: 14: command not found
/code.bash: line 1: 8: command not found
/code.bash: line 1: 8: command not found
/code.bash: line 1: 3: command not found
/code.bash: line 1: 8: command not found
/code.bash: line 1: 7: command not found
/code.bash: line 1: 10: command not found
/code.bash: line 1: 12: command not found
/code.bash: line 1: 8: command not found
/code.bash: line 1: 9: command not found
/code.bash: line 1: 9: command not found
/code.bash: line 1: 12: command not found
/code.bash: line 1: 10: command not found
/code.bash: line 1: 15: command not found
/code.bash: line 1: 11: command not found
/code.bash: line 1: 4: command not found
/code.bash: line 1: 5: command not found
/code.bash: line 1: 13: command not found

strace