Submission #160964

#TimeUsernameProblemLanguageResultExecution timeMemory
160964kimbj0709CONSUL (info1cup19_consul)C++17
85 / 100
37 ms376 KiB
#include "grader.h" #include<bits/stdc++.h> using namespace std; void solve(int n){ srand(362121); map<int,int> m; for(int i=1;i<=30;i++){ int idk = rand()%n+1; int qr = kth(idk); if(cnt(qr)>n/3){ say_answer(qr); return; } } say_answer(-1); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...