Tin học trẻ 2021 - Vòng khu vực - Bảng B - Kho báu

View as PDF

Submit solution

Points: 0.70 (partial)
Time limit: 1.0s
Memory limit: 256M
Input: stdin
Output: stdout

Author:
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
    lytieulong_123  commented on Nov. 7, 2021, 12:36 a.m.

    sao test lại có v[i] > 1e3 vậy ạ?


  • 1
    NSG  commented on Oct. 6, 2021, 3:03 p.m.

    mọi người để ý trường hợp n = 0 ạ :<


    • 7
      SPyofgame  commented on Oct. 7, 2021, 12:11 a.m.

      Chắc do đề bẫy cho mấy code yếu, đề chỉ bảo ~n~ là số nguyên chứ không có nói nó phải nguyên dương :v


  • 17
    SPyofgame  commented on Oct. 6, 2021, 2:28 p.m. edited

    Vì nhiều người ping team nên team mình viết edit rồi nhé :V

    Unofficial Solution:

    https://hackmd.io/@Editorial-Slayers/tht21_kvb_treasure - Click