can any body tell me why this sol bring wrong aanswer in test 2 for f in eduacational

Revision en3, by _Halabi, 2023-05-25 20:17:09

207259291

/* the idea is to take the k smallest elements in vector and by prefix array check all the choices to find the mi answer */

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English _Halabi 2023-05-25 20:17:09 128
en2 English _Halabi 2023-05-25 20:16:14 1257
en1 English _Halabi 2023-05-25 20:08:45 1352 Initial revision (published)