Cython function is returning wrong values in a Kaggle Notebook

后端 未结 0 1955
生来不讨喜
生来不讨喜 2021-01-14 08:02

I recently learned about cython and tried to test it on my kaggle notebook. I had this code in a cell:

%%cython
cpdef foo(int x):
    cdef bar
    bar = x**(x         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题