https://www.acmicpc.net/problem/11005소스 코드 (c++)#include using namespace std;int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int b, n; char out[31]; cin >> n >> b; int len = 0; int rest = 0; while (n != 0) { rest = n % b; if (n % b = 0; i--) cout