题解 1116: IP判断

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

IP地址-python-正则表达式

摘要:解题思路:正则表达式区间0-9             \d    10-99        [1-9]\d    100-199    1\d{2}    200-249    2[0-4]\d  ……

1116: IP判断 java基础语法

摘要:import java.util.Scanner; public class Main {     public static boolean ipValid(String ip) {   ……

IP判断 (C语言代码)

摘要:#include<stdio.h>#include<string.h>int main(){ char str[31];  int s,i,j=0;  int st[3];  while(scanf(……

IP判断-题解(C++代码) 思路简单

摘要:#### 原题链接:[IP判断](https://www.dotcpp.com/oj/problem1116.html) #### 解题思路 1. 首先确定输入方式,由于输入由“End of……