4375 1https://www.acmicpc.net/problem/4375#include using namespace std;int main(){ ios::sync_with_stdio(NULL); cin.tie(NULL); cout.tie(NULL); unsigned int num; int i = 0; while (cin >> num) { int check = 1; i = 1; while (1) { if (0 == check % num) break; else { ++i; check = check * 10 + 1; check %= num; } } cout 1,11,111,1111,1111 … 로 커져나가면서 num으로 나누어떨어지는지 확인하는 문제계속..