⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 problem 1113.htm

📁 zju_acm部分代码!都是自己做 有些事基本题目!题目还可以
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0047)http://acm.zju.edu.cn/show_problem.php?pid=1113 -->
<HTML><HEAD><TITLE>Problem 1113</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY>
<CENTER><IMG src="Problem 1113.files/logo.gif" align=center></IMG></CENTER>
<HR>

<CENTER><FONT color=blue size=+2>u Calculate e</FONT></CENTER>
<HR>

<CENTER><FONT color=green>Time limit:</FONT> 1 Seconds&nbsp;&nbsp; <FONT 
color=green>Memory limit: </FONT>32768K&nbsp;&nbsp; </FONT><BR><FONT 
color=green>Total Submit:</FONT> 6953&nbsp;&nbsp; <FONT color=green>Accepted 
Submit:</FONT> 2671&nbsp;&nbsp; </CENTER>
<HR>

<P><B>Background</B><BR><BR>A simple mathematical formula for e is </P>
<P align=center><IMG height=52 src="Problem 1113.files/showimg.gif" width=72> 
</P>
<P align=left>where n is allowed to go to infinity. This can actually yield very 
accurate approximations of e using relatively small values of n.</P>
<P align=left><BR><B>Output</B><BR><BR>Output the approximations of e generated 
by the above formula for the values of n from 0 to 9. The beginning of your 
output should appear similar to that shown below.</P>
<P align=left><BR><B>Example </B></P>
<P align=left><B>Output</B><BR><BR><PRE>n e
- -----------
0 1
1 2
2 2.5
3 2.666666667
4 2.708333333
</PRE>
<HR>
<FONT color=green size=+1>Problem Source: </FONT><I>Greater New York 2000</I>
<HR>
 
<CENTER><A href="http://acm.zju.edu.cn/submit.php?pid=1113">Submit</A> 
&nbsp;&nbsp;<A href="http://acm.zju.edu.cn/list_problem.php?vol=2">Back</A> 
&nbsp;&nbsp;<A 
href="http://acm.zju.edu.cn/problem_status.php?pid=1113">Status</A> </CENTER>
<HR>

<CENTER>
<TABLE width="100%" border=0>
  <TBODY>
  <TR>
    <TD align=right width="65%"><A href="http://acm.zju.edu.cn/"><FONT 
      color=red>Zhejiang University Online Judge</FONT></A> <A 
      href="http://acm.zju.edu.cn/"><FONT color=red>V1.0</FONT></A></TD>
    <TD align=right width="35%"><A href="http://www.zzhang.cn/"><FONT 
      color=#ffffff 
size=-3>Book</FONT></A></TD></TR></TBODY></TABLE></CENTER></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -