You are viewing a single comment's thread. Return to all comments →
while(<>){(v)=split;v:c==3&&print"$q[0]\n"}
Seems like cookies are disabled on this browser, please enable them to open this website
Queue using Two Stacks
You are viewing a single comment's thread. Return to all comments →
Use perl language:
It's a one liner code.
while(<>){(v)=split;v:c==3&&print"$q[0]\n"}