#include<bits/stdc++.h>
using namespace std;
struct Node{
int value;
Node *next;
}*head;
int main(){
int q;
head->value=1;
scanf("%d",&q);
for(int i=1;i<=q;i++){
int a;
scanf("%d",&a);
Node x,y;
if(a==1){
scanf("%d%d",&x.value,&y.value);
}
else
if(a==2){
scanf("%d",&x.value);
}
}
return 0;
}
为什么无法读入啊