UVA 458

#include<iostream>
#include<cstring>
#include<string>
using namespace std;
char s[100000];

int main()
{
    while(cin.getline(s,100000))
    {
        for(int i=0;i<strlen(s);i++)
        {
            cout<<char(s[i]-'1'+'*');
        }
        cout<<endl;
        memset(s,0,sizeof(s));
    }
    return 0;
}

 

posted @ 2012-04-29 09:26  open your eyes  阅读(136)  评论(0编辑  收藏  举报