unsigned int i =-1 이라고 하면 2의 보수 관점에서 최댓값이 나오는건 알겠음


근데


cout<<std::numeric_limits<unsigned int>::max()<<endl;


이건 왜 -1이 나오는거냐 난 42억 어쩌구 저쩌구가 나올거라고 생각했는데


시발


cout << std::numeric_limits<unsigned int>::min() << endl;

cout << std::numeric_limits<unsigned int>::lowest() << endl;


요 두개는 0으로 잘만 나오는데 


이해가 안간다