1. 기본 // next_permutation example #include // std::cout #include // std::next_permutation, std::sort int main () { int myints[] = {1,2,3}; std::sort (myints,myints+3); std::cout