| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
请教一下,为什么time(NULL)只要用就会RE?怎么办能不RE?比如a+b,这么交上去就RE:
#include<stdio.h>
#include<time.h>
int a,b;
int main()
{
unsigned int sb=(unsigned int)time(NULL);//就是这句话
scanf("%d%d",&a,&b);
printf("%d\n",a+b);
return 0;
}
似乎不论time前面的类型是什么,也不管和前面的一步一样,反正RE.
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator