ADDTEAM T1
ADDTEAM T2
START DURATION 1000 PROBLEM 6
SUBMIT A BY T1 WITH Accepted AT 1
SUBMIT B BY T2 WITH Accepted AT 2
SUBMIT C BY T2 WITH Accepted AT 8
SUBMIT D BY T1 WITH Accepted AT 9
FLUSH
QUERY_RANKING T1
QUERY_RANKING T2
FREEZE
SUBMIT B BY T1 WITH Accepted AT 10
SUBMIT A BY T2 WITH Accepted AT 13
SUBMIT D BY T2 WITH Accepted AT 17
SUBMIT C BY T1 WITH Accepted AT 20
QUERY_RANKING T1
QUERY_RANKING T2
SCROLL
QUERY_RANKING T1
QUERY_RANKING T2
END
