#include <iostream> using namespace std; int main() { string str; long a, b, c, d; scanf("%d.%d.%d.%d", &a, &b, &c, &d); cout << ((a << 24) + (b << 16) + (c << 8) + d) << endl; long num; cin >> num; a = ...