#include <vector>
int reactions(int N, std::vector<int> &D, std::vector<long long> &T);
