| ||||||||||
| 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 | |||||||||
直接打表都要393 B的代码 212K的内存In Reply To:我想知道121B这个长度的代码是怎么样写出来的。。。8k的内存占用又是怎么样的代码。。。 Posted by:lambda2fei at 2008-08-29 19:48:08 #include<iostream>
using namespace std;
int main()
{
cout<<"n e"<<endl;
cout<<"- -----------"<<endl;
cout<<"0 1"<<endl;
cout<<"1 2"<<endl;
cout<<"2 2.5"<<endl;
cout<<"3 2.666666667"<<endl;
cout<<"4 2.708333333"<<endl;
cout<<"5 2.716666667"<<endl;
cout<<"6 2.718055556"<<endl;
cout<<"7 2.718253968"<<endl;
cout<<"8 2.718278770"<<endl;
cout<<"9 2.718281526"<<endl;
return 0;
}
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator