#include <stdio.h>
#include <stdlib.h>
typedef struct node{
int val;
struct node *next;
}Node;
Node *head=NULL;
void insHead(int x){
Node *p;
p
=(Node
*)malloc(sizeof(Node
)); p->next=head;
p->val=x;
head=p;
}
int main(void) {
// your code goes here
insHead(1);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCnR5cGVkZWYgc3RydWN0IG5vZGV7CglpbnQgdmFsOwoJc3RydWN0IG5vZGUgKm5leHQ7Cn1Ob2RlOwoKTm9kZSAqaGVhZD1OVUxMOwoKdm9pZCBpbnNIZWFkKGludCB4KXsKCU5vZGUgKnA7CglwPShOb2RlICopbWFsbG9jKHNpemVvZihOb2RlKSk7CglwcmludGYoIiVkIixwKTsKCXAtPm5leHQ9aGVhZDsKCXAtPnZhbD14OwoJaGVhZD1wOwp9CgppbnQgbWFpbih2b2lkKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglpbnNIZWFkKDEpOwoJcmV0dXJuIDA7Cn0K