Submission #923155

#TimeUsernameProblemLanguageResultExecution timeMemory
923155NValchanovCONSUL (info1cup19_consul)C++17
0 / 100
29 ms344 KiB
#include<bits/stdc++.h> #include "grader.h" using namespace std; typedef long long ll; void solve(int n) { int border=n-n/3; for(int i=1;i<=border;i++) { int curcnt=cnt(kth(i)); if(curcnt*3>n) { say_answer(kth(i)); return; } } say_answer(-1); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...