Skip to content

Instantly share code, notes, and snippets.

View lyfer233's full-sized avatar
🎯
Focusing on Code

Stoner lyfer233

🎯
Focusing on Code
  • Chengdu
  • 01:24 (UTC +08:00)
View GitHub Profile
@lyfer233
lyfer233 / My solutions.cpp
Last active June 22, 2022 05:59
My solutions
#include <iostream>
#include <vector>
#include <math.h>
using namespace std;
/*
我们假设总共有m个人参与了n笔交易,其中1 <= m <= 200000.
每笔交易的数据格式如下:
timestamp person_id operate amount
其中:
@lyfer233
lyfer233 / My final solutions.cpp
Created June 22, 2022 12:23
My final solutions.cpp
#include <iostream>
#include <vector>
#include <math.h>
using namespace std;
/*
我们假设总共有m个人参与了n笔交易,其中1 <= m <= 200000.
每笔交易的数据格式如下:
timestamp person_id operate amount
其中: