Network graph X58060


Statement
 

pdf   zip

html
Public test cases
  • Input

    172.168.1.1
    172.168.1.254
    172.168.1.1:7:172.168.1.254
    172.168.1.1:12:172.168.1.254
    172.168.1.1:5:172.168.1.27
    172.168.1.254:1:172.168.1.27
    

    Output

    6
    
  • Input

    172.168.1.27
    172.168.1.254
    172.168.1.1:7:172.168.1.254
    172.168.1.1:12:172.168.1.254
    172.168.1.1:5:172.168.1.27
    172.168.1.254:1:172.168.1.27
    

    Output

    1
    
  • Information
    Author
    HP Codewars BCN
    Language
    English
    Official solutions
    Python
    User solutions
    C++ Python