algorithm_2024/P1311/P1311.cpp

24 lines
482 B
C++
Raw Normal View History

2024-10-02 09:13:26 +00:00
#include <cstddef>
#include <iostream>
#include <ranges>
using std::iostream,std::cin,std::cout;
constexpr const auto range = std::ranges::views::iota;
const int MAX_N {(size_t)2e5+5},MAX_COLOR {50+5};
int n,k,p;
int ans;
struct Hotel{
int color,min_cost;
}hotel[MAX_N];
int main(){
iostream::sync_with_stdio(false),cin.tie(nullptr),cout.tie(nullptr);
cin>>n>>k>>p;
for(const int i:range(1,n+1)){
cin>>hotel[i].color>>hotel[i].min_cost;
}
}