1.leetcode报错:member access within null pointer of type 'struct ListNode'

访问了空指针

2.terminate called after throwing an instance of 'std::out_of_range'