#include<bits/stdc++.h> using namespace std; int main() { //initialize string str,str_IP,str_Y; string str_IP_1, str_IP_2, str_IP_3, str_IP_4; //ip string str_Y_1, str_Y_2, str_Y_3, str_Y_4; //掩码 int A, B, C, D, E, N_E, P; //输出 A = B = C = D = E = N_E = P = 0; int x = 0, y = 0, m = 0, n = 0; /...