Skip to content

Instantly share code, notes, and snippets.

int main() {
int n;
cin >> n;
int isValid = 0;
map<int, int> needsLeft;
map<int, int> needsRight;
for (int i = 0; i < n; i++) {
2017.05.23 18:09:24:sendBSMsg: Sender= 011, EvtId=01, data=[0,0,0,0,0,0,0,0,0,0,]
2017.05.23 18:09:30:sendBSMsg: Sender= 022, EvtId=02, data=[0,0,0,0,500,0,0,0,0,0,]
2017.05.23 18:09:30:sendBSMsg: Sender= 021, EvtId=02, data=[0,0,0,0,500,0,0,0,0,0,]
2017.05.23 18:09:30:sendBSMsg: Sender= 012, EvtId=02, data=[0,0,0,0,500,0,0,0,0,0,]
2017.05.23 18:09:30:sendBSMsg: Sender= 031, EvtId=02, data=[0,0,0,0,500,0,0,0,0,0,]
2017.05.23 18:09:30:sendBSMsg: Sender= 013, EvtId=02, data=[0,0,0,0,500,0,0,0,0,0,]
2017.05.23 18:09:30:sendBSMsg: Sender= 032, EvtId=02, data=[0,0,0,0,500,0,0,0,0,0,]
2017.05.23 18:09:36:sendBSMsg: Sender= 023, EvtId=02, data=[0,0,0,0,500,0,0,0,0,0,]
2017.05.23 18:09:36:sendBSMsg: Sender= 033, EvtId=02, data=[0,0,0,0,500,0,0,0,0,0,]
2017.05.23 18:09:36:sendBSMsg: Sender= 011, EvtId=02, data=[0,0,0,0,500,0,0,0,0,0,]