摘要: #include<stdio.h> int is_gog(int n){ int x = n,sum=0; while(x){ sum=sum * 10 + x % 10; x /= 10; } return sum==n; } int main(){ int n; scanf("%d",&n); 阅读全文
posted @ 2022-10-30 22:30 qingjiawen 阅读(24) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<stdlib.h> #include<time.h> int main(){ //time(0) 表示linux系统的系统时间 1970年1月1日 到现在 时间戳 秒 //printf("%lu\n",time(0)); srand(time(0 阅读全文
posted @ 2022-10-30 16:27 qingjiawen 阅读(22) 评论(0) 推荐(0) 编辑