#include using namespace std; int get_digit(long num){ int digit = 0; while(num != 0){ num /= 10; digit++; } return digit; } long get_3times_number(long num){ int digit = get_digit(num); long x = 1; for(int i=0;i