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
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #8 | 100 | 8/28/2024 |
| Try #7 | 100 | 8/28/2024 |
| Try #6 | 50 | 8/28/2024 |
| Try #5 | 0 | 8/28/2024 |
| Try #4 | 50 | 8/27/2024 |
| Try #3 | 30 | 8/27/2024 |
| Try #2 | 0 | 8/27/2024 |
| Try #1 | 0 | 8/27/2024 |