Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

请教一下,为什么time(NULL)只要用就会RE?怎么办能不RE?

Posted by fuckqwerty at 2011-01-31 16:42:59
比如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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator