记录编号 110080 评测结果 AAAAAAAAAA
题目名称 [幻影lyd] 雷雷扔粉笔头 最终得分 100
用户昵称 Gravatar甘罗 是否通过 通过
代码语言 Pascal 运行时间 0.000 s
提交时间 2014-07-10 15:27:07 内存使用 0.17 MiB
显示代码纯文本
program zht;
var
z:array[0..91] of int64;
i:longint;
begin
assign(input,'fenbi.in');
assign(output,'fenbi.out');
reset(input);
rewrite(output);
readln(i);
z[0]:=1;
z[1]:=2;
z[2]:=3;
z[3]:=5;
z[4]:=8;
z[5]:=13;
z[6]:=21;
z[7]:=34;
z[8]:=55;
z[9]:=89;
z[10]:=144;
z[11]:=233;
z[12]:=377;
z[13]:=610;
z[14]:=987;
z[15]:=1597;
z[16]:=2584;
z[17]:=4181;
z[18]:=6765;
z[19]:=10946;
z[20]:=17711;
z[21]:=28657;
z[22]:=46368;
z[23]:=75025;
z[24]:=121393;
z[25]:=196418;
z[26]:=317811;
z[27]:=514229;
z[28]:=832040;
z[29]:=1346269;
z[30]:=2178309;
z[31]:=3524578;
z[32]:=5702887;
z[33]:=9227465;
z[34]:=14930352;
z[35]:=24157817;
z[36]:=39088169;
z[37]:=63245986;
z[38]:=102334155;
z[39]:=165580141;
z[40]:=267914296;
z[41]:=433494437;
z[42]:=701408733;
z[43]:=1134903170;
z[44]:=1836311903;
z[45]:=2971215073;
z[46]:=4807526976;
z[47]:=7778742049;
z[48]:=12586269025;
z[49]:=20365011074;
z[50]:=32951280099;
z[51]:=53316291173;
z[52]:=86267571272;
z[53]:=139583862445;
z[54]:=225851433717;
z[55]:=365435296162;
z[56]:=591286729879;
z[57]:=956722026041;
z[58]:=1548008755920;
z[59]:=2504730781961;
z[60]:=4052739537881;
z[61]:=6557470319842;
z[62]:=10610209857723;
z[63]:=17167680177565;
z[64]:=27777890035288;
z[65]:=44945570212853;
z[66]:=72723460248141;
z[67]:=117669030460994;
z[68]:=190392490709135;
z[69]:=308061521170129;
z[70]:=498454011879264;
z[71]:=806515533049393;
z[72]:=1304969544928657;
z[73]:=2111485077978050;
z[74]:=3416454622906707;
z[75]:=5527939700884757;
z[76]:=8944394323791464;
z[77]:=14472334024676221;
z[78]:=23416728348467685;
z[79]:=37889062373143906;
z[80]:=61305790721611591;
z[81]:=99194853094755497;
z[82]:=160500643816367088;
z[83]:=259695496911122585;
z[84]:=420196140727489673;
z[85]:=679891637638612258;
z[86]:=1100087778366101931;
z[87]:=1779979416004714189;
z[88]:=2880067194370816120;
z[89]:=4660046610375530309;
z[90]:=7540113804746346429;
if i<91 then writeln(z[i])
else writeln('12200160415121876738');
close(input);
close(output);
end.