/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* struct ListNode *next;
* };
*/
void deleteNode(struct ListNode* node) {
//*node=*node->next;//一句话就可以搞定,后面的语句内容复制到前面去
struct ListNode *next_node=node->next;
node->val=next_node->val;
node->next=next_node->next;
}