rotate the clock
摘要:A program test:You are given N round clocks.Every clock has M hands, and these hands can point to positions 1, 2, 3, ..., P (yes, these represent numbers around each face). The clocks are represented by the matrix A consisting of N rows and M columns of integers. The first row represents the hands o
阅读全文
ping局域网主机得到外网IP或另一网段IP
摘要:症状:;两个笔记本连接到同一个路由器上, 一个ip是 192.168.1.100,主机名是Lenovo-A, 另一个是192.168.1.109,主机名是Lenovo-B在Lenovo-A 上pingLenovo-B,得到结果Ping request could not find host Lenovo-B. Please check the name and try again.Pinging 192.168.1.109 with 32 bytes of data:Reply from 192.168.1.109: bytes=32 time=1ms TTL=128Reply from 19
阅读全文