📄 problem 2060.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 <FONT
color=green>Memory limit: </FONT>32768K </FONT><BR><FONT
color=green>Total Submit:</FONT> 5531 <FONT color=green>Accepted
Submit:</FONT> 1975 </CENTER>
<HR>
There are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1)
+ F(n-2) (n>=2)
<P><BR><B>Input</B><BR><BR>Input consists of a sequence of lines, each
containing an integer n. (n < 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>
<A href="http://acm.zju.edu.cn/list_problem.php?vol=11">Back</A>
<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 + -