Data Structured67_q2b_wasted_space_2

Wasted Space 2

f64e267c-4a73-4a3b-b683-2fe666a18137.cppC++
1// Loading code...

Selected Submission

100 / 100
0.007s
1544 KB
Implementation
Time Comp.
O(c)
Space Comp.
O(1)
Readability
5/10

"The code primarily uses a `long long` variable `currentSize` to track a running total and `maxSize` to store the maximum size encountered. The core logic involves updating these variables based on input commands, making it a simulation-based implementation."

History

AttemptPoints Time
Try #1610011/4/2024
Try #157511/4/2024
Try #147511/4/2024
Try #136011/4/2024
Try #12011/4/2024
Try #116011/4/2024
Try #101011/4/2024
Try #91011/4/2024
Try #81011/4/2024
Try #71011/4/2024
Try #61011/4/2024
Try #51011/4/2024
Try #4011/4/2024
Try #3011/4/2024
Try #2011/4/2024
Try #1011/4/2024