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