Submission #693126

#TimeUsernameProblemLanguageResultExecution timeMemory
693126auslanderCONSUL (info1cup19_consul)C++17
0 / 100
19 ms336 KiB
#include "grader.h" #include <map> using namespace std; map<int, int>mp; void solve(int n) { int i; int l = 60; if (n <= 50) l = 50; for (i = 1; i <= l;) { int k = kth(i); i++; if (mp[k] == 0) { mp[k] = cnt(k); i++; } if (mp[k] > n / 3) { say_answer(k); return; } } say_answer(-1); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...