bool cycle_d(int n){
    string s1,s2;
    s1=s2=to_string(n);
    reverse(s1.begin(),s1.end());
    return s1==s2;
}

0 条评论

目前还没有评论...