about summary refs log tree commit diff
path: root/others/volume1/002.pas
diff options
context:
space:
mode:
authorRaphael McSinyx <vn.mcsinyx@gmail.com>2017-02-12 16:18:20 +0700
committerRaphael McSinyx <vn.mcsinyx@gmail.com>2017-02-12 16:18:20 +0700
commit1a8e1e68759611a66ae116771da5f376c95a3b9f (patch)
treee663fa6adb9264046a876e552ff2a455215c3a8b /others/volume1/002.pas
parentdf9a0d140a7b7edef66f95aa13b5bb4488147f68 (diff)
downloadcp-1a8e1e68759611a66ae116771da5f376c95a3b9f.tar.gz
Update others/volume1
Diffstat (limited to 'others/volume1/002.pas')
-rw-r--r--others/volume1/002.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/others/volume1/002.pas b/others/volume1/002.pas
index 7732052..a60a15c 100644
--- a/others/volume1/002.pas
+++ b/others/volume1/002.pas
@@ -1,4 +1,4 @@
-uses fibonacci;
+uses cmath;
 
 var
   m: int64;
@@ -13,9 +13,9 @@ begin
     end;
 
   for i := 3 to 88 do
-    if fibonacci93[i] > m then
+    if fibonacci[i] > m then
       begin
-        writeln(i - 1, ' ', fibonacci93[i - 1]);
+        writeln(i - 1, ' ', fibonacci[i - 1]);
         exit
       end
 end.