摘要: #include<stdio.h> #include<stdlib.h> #include<time.h> #include<windows.h> #define N 80 void print_text(int line,int col,char text[]); void print_space 阅读全文
posted @ 2024-04-27 22:50 王思涵 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 int main(){ int number; int i; srand(time(0)); for(i=0;i<N;++i){ number=rand()%65+1; 阅读全文
posted @ 2024-04-14 22:24 王思涵 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<stdlib.h> int main() { int year; float s; scanf("%f",&s); year=(int)(s/(60*60*24*365)+0.5); printf("10亿秒约等于%d年\n",year); sy 阅读全文
posted @ 2024-03-17 14:57 王思涵 阅读(3) 评论(0) 推荐(0) 编辑