#15: The solution to exceeding ULONG_MAX


algasami (Kyuushin Kushinada)

School : 花蓮高中
ID : 210
IP address : [101.12.89.218]
Last Login :
2023-09-27 11:52:39
c019. 來爬樓梯喔 | From: [59.115.33.137] | Post Date : 2022-09-09 11:40

The solution to exceeding ULONG_MAX

I'm currently on a system without a Chinese keyboard, so please pardon my obnoxious writing skills.

My work-around mainly focuses on the runtime duration, so space complexity is not considered in this scenario.

The total sum of maneuver combinations when climbing N stairs is exactly the N + 1s element of the fibonacci sequence.

 
ZeroJudge Forum