int main(){ int lan = 0,pub=0,id=0; char PIN; scanf("%d-%d-%d-%c", &lan,&pub,&id,&PIN); int sum = 0,sum1=0,sum2=0; int pub1=pub,id1=id;//将值保存在另一个变量中 int i = 0; //求pub的相加之和 for (i = 4; i >= 2; i--) { sum += (pub % 10)*i; pub = pub/...