摘要:
#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); 阅读全文
摘要:
#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 阅读全文