srand&rand
#include<studio.h>
#include<stdlib.h>
#include<time.h>
main()
{
int t,i;
time(&t);
srand(t);
for(i=1;i<=5;i++)
printf("%d\n",rand());
}
老师这个程序报错,我看不出问题来。请教~
#include<studio.h> 这里头文件写错了
题目不更新吗