竞赛
考级
bianhl
zsy
#include<bits/stdc++.h> using namespace std; int main(){ int a,b=10; cin>>a; while(b>=10){ b=0; while(a!=0){ b=b+a%10; a/=10; } a=b; } cout<<b; return 0; }
LS_YZY
无敌的鳖佬仔给老爷爷猜猜被
提交答案之后,这里将显示提交结果~