Duyên Hải 2021 - Khối 10 - Bài 1 - Bài dễ

View as PDF

Submit solution

Points: 0.30 (partial)
Time limit: 1.0s
Memory limit: 1G
Input: stdin
Output: stdout

Problem source:
Duyên hải 2021
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.



  • 0
    tuanm123  commented on Sept. 6, 2023, 12:34 p.m.

    wa test 1 là sai trường hợp nào vậy ạ


  • 0
    khangnguyen1108  commented on March 23, 2023, 11:02 p.m.

    mình dùng mảng cộng với sàng ngto mà vẫn bị TLE 3 test cuối , ai cho mình xin hướng với


  • -8
    hungcoder  commented on Dec. 29, 2022, 3:37 a.m. edited

    This comment is hidden due to too much negative feedback. Show it anyway.


  • -7
    nguyenhainam1012cg  commented on Nov. 26, 2022, 8:34 a.m.

    This comment is hidden due to too much negative feedback. Show it anyway.


    • -3
      toidaidot  commented on July 13, 2023, 4:09 a.m.

      no


    • 2
      Thangdeptrai  commented on June 22, 2023, 9:34 a.m.

      sàng, mảng cộng dòn, min[i] (min 1 -> i) max(i) (max n -> i) for 1 -> n maximize(ans, max[i + 1] - min[i])


  • -16
    thanh20092007  commented on July 21, 2022, 4:25 p.m.

    This comment is hidden due to too much negative feedback. Show it anyway.