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

📄 problem 2060.htm

📁 浙江大学程序设计大赛ACM2060题我自己收集的
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0047)http://acm.zju.edu.cn/show_problem.php?pid=2060 -->
<HTML><HEAD><TITLE>Problem 2060</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD>
<BODY>
<CENTER><IMG src="Problem 2060.files/logo.gif" align=center></IMG></CENTER>
<HR>

<CENTER><FONT color=blue size=+2>Fibonacci Again</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> 5531&nbsp;&nbsp; <FONT color=green>Accepted 
Submit:</FONT> 1975&nbsp;&nbsp; </CENTER>
<HR>
There are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1) 
+ F(n-2) (n&gt;=2) 
<P><BR><B>Input</B><BR><BR>Input consists of a sequence of lines, each 
containing an integer n. (n &lt; 1,000,000)</P>
<P><BR><B>Output</B><BR><BR>Print the word "yes" if 3 divide evenly into 
F(n).<BR><BR>Print the word "no" if not.</P>
<P><BR><B>Sample Input</B><BR><BR>0<BR>1<BR>2<BR>3<BR>4<BR>5</P>
<P><BR><B>Sample Output</B><BR><BR>no<BR>no<BR>yes<BR>no<BR>no<BR>no</P>
<P><BR><B>Author:</B> <I>Leojay</I><BR></P>
<HR>

<CENTER><A href="http://acm.zju.edu.cn/submit.php?pid=2060">Submit</A> 
&nbsp;&nbsp;<A href="http://acm.zju.edu.cn/list_problem.php?vol=11">Back</A> 
&nbsp;&nbsp;<A 
href="http://acm.zju.edu.cn/problem_status.php?pid=2060">Status</A> </CENTER>
<HR>

<CENTER><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><BR></CENTER></BODY></HTML>

⌨️ 快捷键说明

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