Result

WA

Code [DL]

while read -n1 C;{((++a[C]))};for i in {0..10};{for((j=a[i];j;j--));{o+=$i}};echo $o

stdin

8953607622675167083903741595686277801883427531258948291557918350199982289370165866749316102561759656

stdout

stderr

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/code.bash: line 1: syntax error near unexpected token `}'
/code.bash: line 1: `while read -n1 C;{((++a[C]))};for i in {0..10};{for((j=a[i];j;j--));{o+=$i}};echo $o'

strace