求解!!!

P1255 数楼梯

Mini_Creation @ 2024-01-21 10:27:13

re了6个点


by Mini_Creation @ 2024-01-21 10:30:59

https://www.luogu.com.cn/paste/dnn01956


by Mini_Creation @ 2024-01-21 10:31:14

代码


by __Dist__ @ 2024-01-21 10:32:23

@ZBY_ 高精度了解一下


by Mini_Creation @ 2024-01-21 10:34:10

@ljlbj_fengyuwuzu 好吧,这道题放弃了


by __Dist__ @ 2024-01-21 10:36:01

@ZBY_ 点击增加RP


by Mini_Creation @ 2024-01-21 10:40:35

@ljlbj_fengyuwuzu 这啥呀


by xiaoshumiao @ 2024-01-21 10:41:59

@ZBY_ 斐波那契数列增长很快的,答案会超出 long long 范围。如果你不想写高精度,请用 python。


by Mini_Creation @ 2024-01-21 10:48:28

@xiaoshumiao 我改long long 之后就多了10分


by xiaoshumiao @ 2024-01-21 10:49:50

@ZBY_ 肯定啊,因为有些答案超出 int 但没超 long long。


by Mini_Creation @ 2024-01-21 10:50:36

@xiaoshumiao 懂了懂了,感谢大佬


|