Remove all elements from a linked list of integers that have value val.
执行用时 :44 ms, 在所有 C++ 提交中击败了60.40%的用户 内存消耗 :10.8MB, 在所有 C++ 提交中击败了92.82%的用户