제출 #1315354

#제출 시각아이디문제언어결과실행 시간메모리
1315354ghammazhassanCONSUL (info1cup19_consul)C++20
0 / 100
3 ms332 KiB
// #include <bits/stdc++.h> #include <iostream> #include <cmath> #include <algorithm> #include <map> #include <unordered_map> #include <vector> #include <iomanip> #include <string> #include <queue> #include <set> #include <deque> #include "grader.h" using namespace std; static const int MIN_VALUE = 0, MAX_VALUE = (1e9) - 1; static map<int,int> mp; static int Q, N, a[5005]; static bool issol, answer; void solve(int N); void solve(int n){ while (true){ int x=(rand())%(n)+1; int y=kth(x); if (cnt(y)>n/3){ say_answer(y); return; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...