1002. 写出这个数 读入一个自然数n,计算其各位数,用汉语拼音写,用汉语拼音写出和的每一位数字。
// 1002.cpp: 定义控制台应用程序的入口点。//#include "stdafx.h"#include <iostream>#include<string>using namespace std;int main(){ string a; cin >> a; int num=a.length(); int i,sum=0; ...
原创
2018-04-12 16:45:02 ·
1182 阅读 ·
0 评论