https://www.acmicpc.net/problem/1065 #include #define endl "\n"using namespace std;/******** 전역변수 ********//******** 함 수 ********/int main(void) { /******** C++ INIT ********/ ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); /******** 지역변수 ********/ int input; int cnt = 0; int n100, n10, n1; /******** 구 현 ********/ cin >> input; for (int i = 1; i