2023 HUAWEI OD Unified Examination Paper B [Livable Planet Transformation Plan] C language implementation

         All topics are available in five languages. C implementation directory , C++ implementation directory , Python implementation directory , Java implementation directory , JavaScript implementation directory

topic

In 2XXX, humans analyzed the habitable transformation of the atmosphere of Mars, which made Mars theoretically suitable for human habitation. Due to technical reasons, it was impossible to transform the entire atmosphere of Mars at one time, only through partial processing. The area to be transformed on Mars is a row * column grid. Each grid has 3 values, habitable zone, reformable zone, and dead zone. Use YES, NO, and NA instead. YES means that the grid has completed atmospheric transformation. NO means that the grid has not been modified and can be modified in the later stage. NA means the dead zone, which is not used to judge whether the transformation is complete and cannot be passed through.

Guess you like

Origin blog.csdn.net/misayaaaaa/article/details/130803748