This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <math.h> | |
using namespace std; | |
/* | |
我们假设总共有m个人参与了n笔交易,其中1 <= m <= 200000. | |
每笔交易的数据格式如下: | |
timestamp person_id operate amount | |
其中: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <math.h> | |
using namespace std; | |
/* | |
我们假设总共有m个人参与了n笔交易,其中1 <= m <= 200000. | |
每笔交易的数据格式如下: | |
timestamp person_id operate amount | |
其中: |