Data Structured63_q1a_hiatus

Hiatus

8e317930-ea9f-41b3-a00e-308387823f35.cppC++
1// Loading code...

Selected Submission

100 / 100
0.093s
3412 KB
ArrayImplementation
Time Comp.
O(n log n + m log n)
Space Comp.
O(n)
Readability
5/10

"The code uses a vector to store pairs of integers representing years and months, and then performs sorted searches using `upper_bound`. The core data structure is the vector, and the algorithm relies on efficient searching within a sorted range."

History

AttemptPoints Time
Try #81008/28/2024
Try #71008/28/2024
Try #6508/28/2024
Try #508/28/2024
Try #4508/27/2024
Try #3308/27/2024
Try #208/27/2024
Try #108/27/2024