qword可以吗

P1255 数楼梯

tututu @ 2016-07-19 13:30:12

qword可以吗


by a216132997 @ 2016-12-06 12:06:34

不行


by creepyFox @ 2016-12-25 09:50:43

貌似只有60分


by tututu @ 2017-01-02 14:47:11

+1


by xukuan @ 2017-03-11 16:00:45

var
 i,n:longint;
 a:array[0..10000] of qword; 
begin
 readln(n);
 a[1]:=1; a[2]:=2;
 for i:=3 to n do
  a[i]:=a[i-1]+a[i-2];
 writeln(a[n]);
end.
{用QWORD只有60分

|