include [HTML_REMOVED]
include [HTML_REMOVED]
using namespace std;
int main(){
string map = “22233344455566677778889999”;
string tel;
int i;
cin>>tel;
for (i = 0; i < tel.length(); i++)
if ((tel[i] >= ‘0’) && (tel[i] <= ‘9’))
cout<[HTML_REMOVED]= ‘A’) && (tel[i] <= ‘Z’))
cout<<map[tel[i] - ‘A’];
cout<<endl;
return 0;
}
输入:CCF-NOIP-2011
输出:22366472011