Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Chef and IPC Certificates codechef November cook off challenge solution

 Chef and IPC Certificates  codechef November cook off challenge solution-

Problem statement-

There were N students (numbered 1 through N) participating in the Indian Programming Camp (IPC) and they watched a total of K lectures (numbered 1 through K). For each student i and each lecture j, the i-th student watched the j-th lecture for Ti,j minutes.

Additionally, for each student i, we know that this student asked the question, "What is the criteria for getting a certificate?" Qi times.

The criteria for getting a certificate is that a student must have watched at least M minutes of lectures in total and they must have asked the question no more than 10 times.

Find out how many participants are eligible for a certificate.

Input

  • The first line of the input contains three space-separated integers N


This post first appeared on Technical Keeda, please read the originial post: here

Share the post

Chef and IPC Certificates codechef November cook off challenge solution

×

Subscribe to Technical Keeda

Get updates delivered right to your inbox!

Thank you for your subscription

×