判断对称数破解开机密码•2022-11-6•随笔•阅读33判断对称数 王道c语言训练营作业 不使用数组 #include //判断对称数:一个数反过来后仍与原数相等 int main() { int a,b,c; scanf("%d", &a); b = 0; c = a; while (a) { b = b * 10 + a % 10; a = a / 10; } if (c==b) { printf("yesn"); } else { printf("non"); } return 0; } 欢迎分享,转载请注明来源:内存溢出原文地址:https://54852.com/zaji/4653532.html判断作业数组王道个数赞 (0)打赏 微信扫一扫 支付宝扫一扫 破解开机密码一级用户组00 生成海报 高精度运算题上一篇 2022-11-06Educational Codeforces Round 108 (Rated for Div. 2) C. Berland Regional(思维,枚举) 下一篇2022-11-06 发表评论 请登录后评论... 登录后才能评论 提交评论列表(0条)
评论列表(0条)