100811 - 字符统计

时间限制

20 毫秒

内存限制

128 MB

通过次数

17

提交次数

36

统计小写字母出现的次数,并用柱状图表达。

柱状图:

1、不得有多于空行

2、用*表达个数,不足的用单个空格填充

3、每列之间用单个空格分隔

输入

n行,每行x个小写字母或空格。

对于100%的数据:

1 \le x \le 100 ;

1\le n \le 5

输出

样例

输入

hello

输出

                      *
        *     *       *     *
a b c d e f g h i j k l m n o p q r s t u v w x y z

输入

life is a leaf of paper white
thereon each of us may write his word or two

输出

        *
        *
        *                   *
*       *       *           *     *
*       * *   * *           *     *   *     *
*       * *   * *           *     * * *     *
*       * *   * *     *     * *   * * *     *
*   * * * *   * *     * * * * *   * * * *   *   *
a b c d e f g h i j k l m n o p q r s t u v w x y z

输入

give me the strength lightly to bear my joys and sorrows
give me the strength to make my love fruitful in service
give me the strength never to disown the poor or bend my knees before insolent might
give me the strength to raise my mind high above daily trifles
and give me the strength to surrender my strength to thy will with love

输出

        *
        *
        *
        *
        *
        *
        *
        *
        *
        *
        *                             *
        *                             *
        *                             *
        *                             *
        *                             *
        *                             *
        *                             *
        *                             *
        *                             *
        *                             *
        *                             *
        *                         *   *
        *       *                 *   *
        *     * *           *     *   *
        *     * *         * *     *   *
        *     * *         * *     * * *
        *     * *         * *     * * *
        *   * * *         * *     * * *
        *   * * *       * * *     * * *
        *   * * *       * * *     * * *
        *   * * *       * * *     * * *
        *   * * *     * * * *     * * *   *
        *   * * *     * * * *     * * *   *     *
        *   * * *     * * * *     * * *   *     *
*     * *   * * *     * * * *     * * *   *     *
*     * *   * * *     * * * *     * * *   *     *
*     * *   * * *     * * * *     * * *   *     *
* *   * * * * * *     * * * *     * * *   * *   *
* *   * * * * * *     * * * *     * * * * * *   *
* *   * * * * * *   * * * * *     * * * * * *   *
* * * * * * * * * * * * * * * *   * * * * * *   *
a b c d e f g h i j k l m n o p q r s t u v w x y z