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:为什么gcc就RTE,c就AC?我自己在本地用gcc试了1到13的数据也正常啊,求教!In Reply To:Re:为什么gcc就RTE,c就AC?我自己在本地用gcc试了1到13的数据也正常啊,求教! Posted by:baicaitest at 2009-08-05 19:13:47 这样是打表,可是数据是如何算出来的呢 > #include <iostream> > using namespace std; > int a[14]={2,7,5,30,169,441,1872,7632,1740,93313 > ,459901,1358657,2504881}; > > int main(){ > int b; > cin>>b; > while (b){ > cout<<a[b-1]<<endl; > cin>>b; > } > } > 猥琐程序。。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator