#include<bits/stdc++.h> using namespace std; %画出图发现N为偶数的时候,都是3,为奇数的时候都是2扭出来的,并且往前找的时候发现都是2倍关系,把每一次都当做N,从后往前寻找,然后再从后往前输出, int main() { int N; cin >> N; string str; while(N > 0) { if(N % 2 == 1) { str += "2"; N = N / 2; } else { str += "3"; N = N/2-1; } } for(int i =...