This problem is in Contest(s) below:
Contest 1249:【YH23】202401入门阶段考查一
Contest 1376:【YH28】04 善用C++数学函数