#include <bits/stdc++.h>
using namespace std;
int main(){
int a, b, c; cin>>a>>b>>c;
int lim = c/b;
int h[a];
priority_queue< pair<int, int> > cans; // {height, place}
for(int i=0; i<a; i++){
int can; cin>>can;
xyth0rn changed 4 years agoView mode Like Bookmark
E. Make Them Odd
Not done
https://codeforces.com/group/n75uQpTCBs/contest/337574/problem/E
Problem Analysis
Source Code
t = int(input())
for case in range(t):
n = int(input())
xyth0rn changed 4 years agoView mode Like Bookmark
A. Balanced Team
https://codeforces.com/group/n75uQpTCBs/contest/325340/problem/A
status: done
Problem Analysis
List S is a sublist of the input list a . Find the maximum length of list S while S.max() - S.min() <= 5.
Source Code
n = int(input())
students = list( map(int, input().split()) )
xyth0rn changed 4 years agoView mode Like Bookmark