ICPC 2023 miền Nam - D: Danger Detection

View as PDF

Submit solution

Points: 0.40
Time limit: 1.0s
Memory limit: 512M
Input: stdin
Output: stdout

Problem source:
ICPC 2023 miền Nam
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

Note:

  • There is a mistake in the statement: "Suppose the robot has a weight of G, then entering a cell with a load-bearing capacity less than G is considered dangerous.", not "less or equal to".

  • The limits of ~n~ and ~G~ are ~1 \le n \le 500~, ~1 \le G \le 5000~.


Comments

Please read the guidelines before commenting.


There are no comments at the moment.