| ||||||||||
| 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 | |||||||||
Re:编译器可以代码优化地In Reply To:PKU如此快..????????? Posted by:alpc98 at 2010-04-16 20:25:36 > #include <stdio.h>
>
> int main(void)
> {
> int i,sum,a,b;
> sum=0;
> scanf("%d %d",&a,&b);
> for (i=1;i<=4000000000;i++)
> sum+=1;
> printf("%d\n",a+b);
> return 0;
> }
>
> 1000 Accepted 132K 0MS C++ 159B 2010-04-16 20:23:35
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator