5011专题

HDU 5011 Game(西安网络赛E题)

HDU 5011 Game 题目链接 思路:其实就求一个Nim和即可,要推也不难推,和为0下一个必然是胜态,因为至少取走一个,在怎么分也达不到原来那个值了,如果是非0值,就和原来Nim一样必然可以取一堆使得变成0 代码: #include <cstdio>#include <cstring>const int N = 100005;int n;long long a, s

serve error code=5011(RtcRtpMuxer)(Failed to mux RTP packet for RTC)

SRS日志报错如下: [2023-02-09 12:14:02.230][ERROR][27919][4u14n5rj][4] serve error code=5011(RtcRtpMuxer)(Failed to mux RTP packet for RTC) : service cycle : rtmp: stream service : rtmp: receive thread : ha