by@__dAi00
WA
while read -n1 C;{((++a[C]))};for i in {0..10};{for((j=a[i];j;j--));{o+=$i};};echo $o
4181664557004633547474090215794697408575717642157483107502815477717027685536789630864404411859832976
/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'