04 2021 档案

摘要:#include<stdio.h> long long fun(int n); int main() { int n; long long f; while(scanf("%d",&n)!=EOF) { f=fun(n); printf("n=%d,f=%lld\n",n,f); } return 阅读全文
posted @ 2021-04-29 22:49 袁骕骦 阅读(57) 评论(2) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int x, n; srand(time(0)); for(n=1; n<=N; n++) { x = rand() % 100; pr 阅读全文
posted @ 2021-04-15 21:24 袁骕骦 阅读(50) 评论(1) 推荐(0)