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