# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
668680 | hoanghq2004 | Rarest Insects (IOI22_insects) | C++17 | 80 ms | 420 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
#pragma GCC optimize ("O3")
#pragma GCC optimize ("unroll-loops")
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include "insects.h"
using namespace __gnu_pbds;
using namespace std;
template <typename T>
using ordered_set = tree <T, null_type, less <T>, rb_tree_tag, tree_order_statistics_node_update>;
//
//static inline constexpr int kMaxQueries = 40000;
//
//static int N;
//// Insect types are compressed to colors in the range [0, N).
//static std::vector<int> color;
//static std::vector<bool> in_box;
//
//static std::vector<int> color_occurrences;
//static std::multiset<int> max_occurrences;
//
//static std::vector<int> op_counter(3, 0);
//
//static inline void protocol_violation(std::string message) {
// printf("Protocol Violation: %s\n", message.c_str());
// exit(0);
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |