C, C++/Code Keeping
3개이상 max, min
batsalee
2024. 2. 25. 18:54
#include <algorithm> int maximum = max({ one, two, three });
{ }로 다 감싸버리면 편하게 가능하다.