主题:[活动]鼠算遗题
神鬼天王
[专家分:30] 发布于 2009-09-15 18:35:00
快
回复列表 (共3个回复)
沙发
phile [专家分:2310] 发布于 2009-09-15 18:36:00
CLS
INPUT N
DIM A(1000)
A(1) = 2
FOR I = 1 TO N
C = 0
FOR J = 1 TO 1000
X = A(J) * 7 + C
C = X \ 10
A(J) = X MOD 10
NEXT J
NEXT I
K = 1000
DO WHILE A(K) = 0
K = K - 1
LOOP
FOR I = K TO 1 STEP -1
PRINT USING "#"; A(I);
NEXT I
板凳
phile [专家分:2310] 发布于 2009-09-15 18:36:00
公式
a=2
a=a*7
3 楼
phile [专家分:2310] 发布于 2009-09-15 18:37:00
我用高精度
我来回复