| ||||||||||
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 |
c++0x的auto真爽~~~贴代码# include <stdio.h> int main() { auto data[3]; scanf("%d %d",data+1,data+2); auto total=0; for(auto i=1;i<=2;i++) total+=data[i]; printf("%d\n",total); } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator