Educational Segment Tree Contest - ITDS2

View as PDF

Submit solution

Points: 1.90
Time limit: 6.0s
Memory limit: 768M
Input: stdin
Output: stdout

Problem source:
Educational Segment Tree Contest - Anh Nguyên
Problem type
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch

In case the statement didn't load correctly, you can download the statement here: Statement


Comments

Please read the guidelines before commenting.



  • 27
    I_love_Hoang_Yen  commented on Dec. 26, 2021, 4:52 a.m.

    Bài này với giới hạn gốc (TL = 3s, ML = 256MB) vẫn có thể AC được, tuy nhiên code cần tối ưu 1 chút.

    Mình tăng giới hạn lên TL = 6s, ML = 768MB để các bạn có thể thoải mái làm.


  • 24
    I_love_Hoang_Yen  commented on Dec. 25, 2021, 3:35 p.m.

    Test vd cuối bị sai: output của truy vấn đầu phải là '0 6' (trong đề hiện tại là '0 5')