제출 #1151507

#제출 시각아이디문제언어결과실행 시간메모리
1151507WebblyCONSUL (info1cup19_consul)C++20
0 / 100
43 ms408 KiB
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Solution // Webbly, 27.01.2023 // // // Arsen ne katai // // /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include<bits/stdc++.h> #include "grader.h" using namespace std; void solve(int n){ int ans = -1; for (int i = 1; i <= n; i++){ int x = kth(i); int y = cnt(x); if (y > n / 3) ans = x; } say_answer(ans); return; } /** */
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...