1
struct LL { int v; struct LL* next; }; int ll_sum(struct LL* head){ int s=0; while(head){ s+=head->v; head=head->next; } return s; }