当前位置:网站首页>[detailed explanation of Huawei machine test] happy weekend
[detailed explanation of Huawei machine test] happy weekend
2022-07-05 14:34:00 【A less intelligent programmer】
List of articles
Preface
《 Huawei machine test real problem 》 The column includes Huawei column of niuke.com 、 Huawei test questions 、 Huawei OD Real problem of machine test .
If you are preparing for Huawei's interview , If you want to know something, you can send me a private letter , I will try my best to help you , I can also give you some suggestions !
This paper solves the non optimal solution ( Non optimal performance ).
Title Description
Xiaohua and Xiaowei are very good friends , They agreed to have dinner together on weekends and communicate through mobile phones , They chose several places for dinner on the map ( Due to natural terrain and other reasons , Some dining places are inaccessible ), How many dining places can Xiaohua and Xiaowei reach ?
Input description :
First line input m and n,m Represents the length of the map ,n Represents the width of the map .
The second line starts to input the map information , The map information contains :
0 For a smooth road
1 For obstacles ( Dan only 1 For obstacles )
2 For Xiaohua or Xiaowei , There must be and only 2 individual ( No obstacles )
3 For the selected gathering place ( No obstacles )
Special reminder !!!!
Be careful 1: Machine test AC
边栏推荐
- R語言ggplot2可視化:可視化折線圖、使用theme函數中的legend.position參數自定義圖例的比特置
- FR练习题目---综合题
- Introduction, installation, introduction and detailed introduction to postman!
- 美国费城发生“安全事故” 2名警察遭枪杀
- [learning notes] connectivity and circuit of graph
- leetcode:881. lifeboat
- World Environment Day | Chow Tai Fook serves wholeheartedly to promote carbon reduction and environmental protection
- Is the securities account given by the head teacher of qiniu school safe? Can I open an account?
- 非技术部门,如何参与 DevOps?
- APR protocol and defense
猜你喜欢
[learning notes] stage test 1
Sharing the 12 most commonly used regular expressions can solve most of your problems
想进阿里必须啃透的12道MySQL面试题
ASP.NET大型外卖订餐系统源码 (PC版+手机版+商户版)
Thymeleaf th:with局部变量的使用
Why do mechanical engineers I know complain about low wages?
How can non-technical departments participate in Devops?
Topology可视化绘图引擎
Penetration testing methodology
PHP - fatal error: allowed memory size of 314572800 bytes exhausted
随机推荐
启牛学堂班主任给的证券账户安全吗?能开户吗?
注意!软件供应链安全挑战持续升级
APR protocol and defense
家用电器行业商业供应链协同平台解决方案:供应链系统管理精益化,助推企业智造升级
Section - left closed right open
Thymeleaf 常用函數
How to choose the appropriate certificate brand when applying for code signing certificate?
04_ Use of solrj7.3 of solr7.3
R language ggplot2 visual bar graph: visualize the bar graph through the two-color gradient color theme, and add label text for each bar (geom_text function)
无密码身份验证如何保障用户隐私安全?
微帧科技荣获全球云计算大会“云鼎奖”!
Thymeleaf th:classappend属性追加 th:styleappend样式追加 th:data-自定义属性
useMemo,memo,useRef等相关hooks详解
03_ Dataimport of Solr
Introduction, installation, introduction and detailed introduction to postman!
C语言中限定符的作用
PostgreSQL 13 installation
用 Go 跑的更快:使用 Golang 为机器学习服务
选择排序和冒泡排序
mysql8.0JSON_CONTAINS的使用说明