力扣两数想加
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* struct ListNode *next;
* };
*/
//初始化头和尾(yǐ)巴
struct ListNode*head=NULL;
struct ListNode*end=NULL;
//定义一个增加节点的函数
void addlist(int a)
{
struct ListNode*ptemp=(struct