#32235: C++ 不用if輕鬆解


young20050727@gmail.com (Young)


cout << (n+9)%24;

取24餘數就好