+ 1

[C language] I don't understand the meaning of this problem. Please explain to me :(

(The problem is in the link) https://code.sololearn.com/cHe8I6pp3ZPw/?ref=app

12th Oct 2020, 12:17 PM
Briana
Briana - avatar
10 odpowiedzi
+ 1
Find maximum combination of students which skills does not differ more than 5. 1st : 1,10,17,12,15,2,9 17,12,15 each have difference <=5, if you take other, difference is >5 ex: 10 17-10=7>5. Take a miximum possible number of AI skillers.
12th Oct 2020, 2:16 PM
Jayakrishna 🇮🇳
+ 1
No.. That is the problem. I put in the compiler because there isn't enough space in question box. I don't know the meaning of that problem. I need an explaination about that problem..
12th Oct 2020, 12:24 PM
Briana
Briana - avatar
+ 1
Hi, i am sorry, Abhay . I thought like this bcs he has written it's c language,
12th Oct 2020, 12:31 PM
Steve Sajeev
Steve Sajeev - avatar
+ 1
Ohhh, Brianna
12th Oct 2020, 12:34 PM
Steve Sajeev
Steve Sajeev - avatar
+ 1
This is a hard topic for me. Where did you get this from
12th Oct 2020, 12:37 PM
Steve Sajeev
Steve Sajeev - avatar
0
(1 ≤ ai ≤ 109) ,I am particularly confused about this constraint ,according to what i think, the ai of each student should lie from 1 to 109 so how are students with 1337 iq selected🤔
12th Oct 2020, 12:31 PM
Abhay
Abhay - avatar
0
Steve Sajeev no worries !
12th Oct 2020, 12:32 PM
Abhay
Abhay - avatar
0
That's 10^9. I forgot write ^
12th Oct 2020, 12:34 PM
Briana
Briana - avatar
0
Steve Sajeev I got it from my college
12th Oct 2020, 2:40 PM
Briana
Briana - avatar
0
Jayakrishna🇮🇳 oh.. I see. Thank you so much
12th Oct 2020, 2:41 PM
Briana
Briana - avatar