12 lines
298 B
C++
12 lines
298 B
C++
#pragma once
|
|
|
|
#include "record.hpp"
|
|
#include <map>
|
|
#include <vector>
|
|
|
|
using DayIndex = long long;
|
|
|
|
std::map<DayIndex, std::vector<Record>> group_by_day(const std::vector<Record>& recs);
|
|
std::vector<std::vector<DayIndex>> split_days(const std::map<DayIndex, std::vector<Record>>& days, int parts);
|
|
|