You are viewing a single comment's thread. Return to all comments →
Isn't the expected output of the sample test case wrong?
Input (stdin): 1 abc, 3 3, 2 3, 1 xy, 3 2, 3 1
The data contents should be: 1 abc => abc 3 3 => print c 2 3 => deleted abc 1 xy => xy 3 2 => print y 3 1 => print x (not a)
Seems like cookies are disabled on this browser, please enable them to open this website
Simple Text Editor
You are viewing a single comment's thread. Return to all comments →
Isn't the expected output of the sample test case wrong?
Input (stdin): 1 abc, 3 3, 2 3, 1 xy, 3 2, 3 1
The data contents should be: 1 abc => abc 3 3 => print c 2 3 => deleted abc 1 xy => xy 3 2 => print y 3 1 => print x (not a)