#include "stdio.h" #include "string.h" #define N 10 #define M 102 int main(){ char *p[N]={"zero","one","two","three","four","five","six","seven","eight","nine"}; char num[M]; int i,j,t,sum,a[5],b[5]; while(scanf("%s", &num) != EOF && strlen(num)<=101){ sum = 0; for(i=0;i<strlen(num);i++){ sum += num[i] - '0'; } j=0; if(sum == 0) { printf("%s", p[sum]); } else { while(sum!=0){ a[j] = sum%10; sum /= 10; j++; } for(t=j-1;t>=0;t--){ if(t != j-1) printf(" "); printf("%s", p[a[t]]); } } } return 0; }
相关推荐
1005 Spell It Right (20 分)【int与string互换,hash打表】 1082 Read Number in Chinese (25 分)【将数字转成中文】 1093 Count PAT's (25 分)【PAT计数】 1071 Speech Patterns (25 分)【如何将词...
TrinityCore 版本的spell.dbc详细中文解释
wow spell editor from github。 魔兽世界技能编辑器,来自git
Lucene SpellChecker for Lucene 3.0.2
主要是SpellChecker控件的用法总结
.NET FrameWork 4.8 已经对Github上的最新版本进行调整,可以无错运行导入Spell App.Config配置数据链接及新建数据库名称 WoW-Spell-Editor-master |____Documentation BandingList对应dbc文件二进制字段列表,语言...
VS2010 Spell Checker
Vusial studio 2010 代码拼写检查SpellChecker插件.
Listen, Attend And Spell
可直接依赖 compile 'com.belerweb:pinyin4j:2.5.0' 转载网址:https://blog.csdn.net/wanxuedong/article/details/64213295
Googlie Spell Check, a simple demo
Addict SpellChecker Pro v3.3.1Addict 3 Professional: 2JLhb7Addict 3 PlusPack: lF8Ce
Spellchecking Prerequisites, Goals, and Outcomes Prerequisites: Students should have mastered the following prerequisite skills. • Hash Tables - Understanding of the concept of a recursive function ...
VisualStudio.SpellChecker.VS2013And2015.vsix——VisualStudio.SpellChecker.VS2013And2015.vsix——VisualStudio.SpellChecker.VS2013And2015.vsix
python库,解压后可用。 资源全名:spell-0.41.26-py2.py3-none-any.whl
易语言模块spell.rar 易语言模块spell.rar 易语言模块spell.rar 易语言模块spell.rar 易语言模块spell.rar 易语言模块spell.rar
Polar SpellChecker Component ActiveX控件的特点: 轻松组合 RichEdit 和 Edit 文本控件; SPT编译器:编译 Polar SpellChecker 语言平台,支持每一种可能的语言; 多个目录同时使用; 支持文本统计; ...
可用于日常文字编辑,安装后可以自动纠正输入的英文单词。
汉字转拼音的类 C# Chinese2Spell.cs
拼写纠错