
http://acm.hdu.edu.cn/showproblem.php?pid=2629
地区只要看前两位就可以了,因为地区是个大的概念后面的数字代表的是县
#include<cstdio>
#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main(void)
{
这段代码主要用于解析中国身份证号码,并根据前两位地区代码映射到对应的省份。程序读取输入的身份证数量,然后逐个解析,将地区转换为对应的省份名称,同时输出生日信息。身份证的地区码中,例如'33'代表'浙江','82'代表'澳门'等。

http://acm.hdu.edu.cn/showproblem.php?pid=2629
地区只要看前两位就可以了,因为地区是个大的概念后面的数字代表的是县
#include<cstdio>
#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main(void)
{
1万+
5万+

被折叠的 条评论
为什么被折叠?