require errormsg to be specified before file.

This commit is contained in:
Arne Döring 2018-11-29 16:07:51 +01:00 • committed by Araq
commit 1105d03644
264 changed files with 305 additions and 623 deletions

View file

@ -1,5 +1,4 @@
discard """
file: "tbug511622.nim"
output: "3"
"""
import StrUtils, Math
@ -11,6 +10,3 @@ proc FibonacciA(n: int): int64 =
return int64((pow(p, fn) + pow(q, fn)) / sqrt(5.0))
echo FibonacciA(4) #OUT 3