Submit solution
Points:
1.20 (partial)
Time limit:
1.0s
Memory limit:
1G
Input:
stdin
Output:
stdout
Problem source:
Problem types
Allowed languages
C, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch
In case the statement didn't load correctly, you can download the statement here: Statement
Comments
Bổ sung test:
Mình thấy có nhiều người làm code tham lam kiểu kiểu vậy:
Test này bị sai trong test sau:
Như vậy thì chạy tối ưu nó sẽ ra 1 còn chạy kiểu tham lam như trên kia thì ra 5959. Thiết nghĩ OJ nên thêm test này vô ạ.
orz
This comment is hidden due to too much negative feedback. Show it anyway.
Chắc là test yếu đó bạn :)